Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 104.4 kB / 16.45 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 210.4 kB / 19.43 MB, free: 3.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.436/1.436, allocations: 230.6 MB / 252.8 MB, free: 8.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.168/3.168, allocations: 0.505 GB / 0.8066 GB, free: 23.08 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 81.95 kB / 1.172 GB, free: 17.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.339, allocations: 180.2 MB / 1.348 GB, free: 10.13 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.00237/0.3414, allocations: 0.9231 MB / 1.349 GB, free: 9.207 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001206/0.3426, allocations: 0.9327 MB / 1.35 GB, free: 8.262 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.954e-05/0.3427, allocations: 0 / 1.35 GB, free: 8.262 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.683e-05/0.3427, allocations: 15.86 kB / 1.35 GB, free: 8.246 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.3428, allocations: 19.8 kB / 1.35 GB, free: 8.227 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002217/0.343, allocations: 43.89 kB / 1.35 GB, free: 8.184 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.3432, allocations: 123.7 kB / 1.35 GB, free: 8.062 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.3434, allocations: 41.45 kB / 1.35 GB, free: 8.012 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000168/0.3435, allocations: 59.78 kB / 1.35 GB, free: 7.953 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.3436, allocations: 55.75 kB / 1.35 GB, free: 7.898 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.404e-05/0.3437, allocations: 12 kB / 1.35 GB, free: 7.887 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 5.826e-05/0.3437, allocations: 24 kB / 1.35 GB, free: 7.863 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.402e-05/0.3437, allocations: 35.84 kB / 1.35 GB, free: 7.828 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.06e-05/0.3438, allocations: 51.73 kB / 1.35 GB, free: 7.777 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.344, allocations: 159.6 kB / 1.35 GB, free: 7.621 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.344, allocations: 3.938 kB / 1.35 GB, free: 7.617 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.593e-06/0.344, allocations: 0 / 1.35 GB, free: 7.617 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.344, allocations: 4 kB / 1.35 GB, free: 7.613 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000641/0.3447, allocations: 438.8 kB / 1.351 GB, free: 7.137 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.3447, allocations: 15.98 kB / 1.351 GB, free: 7.121 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.925e-05/0.3448, allocations: 38.75 kB / 1.351 GB, free: 7.074 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002302/0.345, allocations: 40.81 kB / 1.351 GB, free: 7.035 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000282/0.3453, allocations: 208.9 kB / 1.351 GB, free: 6.793 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.3453, allocations: 12.33 kB / 1.351 GB, free: 6.781 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.3453, allocations: 7.938 kB / 1.351 GB, free: 6.773 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000238/0.3456, allocations: 101.6 kB / 1.351 GB, free: 6.668 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.3456, allocations: 7.938 kB / 1.351 GB, free: 6.66 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.3456, allocations: 4 kB / 1.351 GB, free: 6.656 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.3456, allocations: 4 kB / 1.351 GB, free: 6.652 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001914/0.3458, allocations: 63.95 kB / 1.351 GB, free: 6.59 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006101/0.3464, allocations: 404.6 kB / 1.351 GB, free: 6.145 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002602/0.3466, allocations: 82.61 kB / 1.352 GB, free: 6.055 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.3467, allocations: 40.84 kB / 1.352 GB, free: 6.012 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.3468, allocations: 0 / 1.352 GB, free: 6.012 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.3468, allocations: 38.48 kB / 1.352 GB, free: 5.965 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.3468, allocations: 0 / 1.352 GB, free: 5.965 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0003817/0.3472, allocations: 125.6 kB / 1.352 GB, free: 5.836 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.3472, allocations: 59.34 kB / 1.352 GB, free: 5.766 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.3474, allocations: 154.2 kB / 1.352 GB, free: 5.605 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.3474, allocations: 29.7 kB / 1.352 GB, free: 5.57 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.344e-05/0.3475, allocations: 112.4 kB / 1.352 GB, free: 5.457 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.008e-05/0.3475, allocations: 23.84 kB / 1.352 GB, free: 5.434 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.144e-05/0.3475, allocations: 29.7 kB / 1.352 GB, free: 5.398 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.3477, allocations: 322.8 kB / 1.352 GB, free: 5.074 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.3478, allocations: 31.98 kB / 1.352 GB, free: 5.043 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.3479, allocations: 50.55 kB / 1.353 GB, free: 4.984 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.3481, allocations: 64.89 kB / 1.353 GB, free: 4.918 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3481, allocations: 4.031 kB / 1.353 GB, free: 4.914 MB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002356/0.3483, allocations: 113.5 kB / 1.353 GB, free: 4.797 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.3483, allocations: 4 kB / 1.353 GB, free: 4.793 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3483, allocations: 0 / 1.353 GB, free: 4.793 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.3483, allocations: 0 / 1.353 GB, free: 4.793 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.601e-05/0.3484, allocations: 15.92 kB / 1.353 GB, free: 4.777 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.3484, allocations: 0 / 1.353 GB, free: 4.777 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.166e-05/0.3485, allocations: 19.92 kB / 1.353 GB, free: 4.758 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.3485, allocations: 4 kB / 1.353 GB, free: 4.754 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000102/0.3486, allocations: 125.8 kB / 1.353 GB, free: 4.621 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.376e-05/0.3487, allocations: 11.89 kB / 1.353 GB, free: 4.609 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.417e-05/0.3487, allocations: 16.7 kB / 1.353 GB, free: 4.59 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.3487, allocations: 0 / 1.353 GB, free: 4.59 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3487, allocations: 0 / 1.353 GB, free: 4.59 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3487, allocations: 0 / 1.353 GB, free: 4.59 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002254/0.3489, allocations: 217.5 kB / 1.353 GB, free: 4.328 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.3489, allocations: 0 / 1.353 GB, free: 4.328 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.736e-05/0.349, allocations: 19.92 kB / 1.353 GB, free: 4.309 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.349, allocations: 0 / 1.353 GB, free: 4.309 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.349, allocations: 7.984 kB / 1.353 GB, free: 4.301 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.349, allocations: 3.938 kB / 1.353 GB, free: 4.297 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.349, allocations: 0 / 1.353 GB, free: 4.297 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002837/0.3493, allocations: 195.8 kB / 1.353 GB, free: 4.09 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.676e-05/0.3494, allocations: 92.95 kB / 1.353 GB, free: 3.98 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.3494, allocations: 8 kB / 1.353 GB, free: 3.973 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.3495, allocations: 7.984 kB / 1.353 GB, free: 3.965 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.294e-05/0.3496, allocations: 19.97 kB / 1.353 GB, free: 3.945 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.3496, allocations: 0 / 1.353 GB, free: 3.945 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.369e-05/0.3497, allocations: 128 kB / 1.354 GB, free: 3.82 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3497, allocations: 0 / 1.354 GB, free: 3.82 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002379/0.3499, allocations: 15.94 kB / 1.354 GB, free: 3.805 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005705/0.3505, allocations: 0.7358 MB / 1.354 GB, free: 3.043 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002384/0.3507, allocations: 67.95 kB / 1.354 GB, free: 2.977 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3507, allocations: 0 / 1.354 GB, free: 2.977 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 9.865e-05/0.3508, allocations: 39.92 kB / 1.354 GB, free: 2.938 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.3511, allocations: 11.98 kB / 1.354 GB, free: 2.926 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001953/0.3531, allocations: 1.656 MB / 1.356 GB, free: 1.195 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.3534, allocations: 0.7117 MB / 1.357 GB, free: 468 kB / 1.045 GB Notification: Performance of simCode: alias equations: time 5.253e-05/0.3534, allocations: 4.672 kB / 1.357 GB, free: 464 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.836e-05/0.3535, allocations: 35.42 kB / 1.357 GB, free: 428 kB / 1.045 GB Notification: Performance of SimCode: time 2.9e-07/0.3535, allocations: 0 / 1.357 GB, free: 428 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03264/0.3862, allocations: 2.681 MB / 1.359 GB, free: 13.88 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.85/8.236, allocations: 8.188 kB / 1.359 GB, free: 13.88 MB / 1.061 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.csv --start-time 0 --stop-time 3600 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable conSysSta.TRoo in file Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.csv. Warning: Get data of variable conSysSta.TRoo from file Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.csv failed! Error: Could not read variable conSysSta.TRooSet in file Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.csv. Warning: Get data of variable conSysSta.TRooSet from file Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.csv failed! Error: Could not read variable conSysSta.TOut in file Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.csv. Warning: Get data of variable conSysSta.TOut from file Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.csv failed! Error: Could not read variable conSysSta.TOutLow in file Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.csv. Warning: Get data of variable conSysSta.TOutLow from file Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.csv failed! Error: Could not read variable conSysSta.onSys in file Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.csv. Warning: Get data of variable conSysSta.onSys from file Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.767367830034345]