Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001792/0.001792, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002184/0.002184, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.45/1.45, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.088/3.088, allocations: 0.4892 GB / 0.7943 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_12_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.002077/0.002077, allocations: 64.44 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2928, allocations: 176.1 MB / 1.325 GB, free: 2.371 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002262/0.2951, allocations: 0.891 MB / 1.326 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00133/0.2964, allocations: 0.925 MB / 1.327 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.656e-05/0.2965, allocations: 4 kB / 1.327 GB, free: 0.543 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.487e-05/0.2965, allocations: 11.86 kB / 1.327 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.863e-05/0.2966, allocations: 19.8 kB / 1.327 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002253/0.2968, allocations: 43.89 kB / 1.327 GB, free: 480 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001659/0.297, allocations: 127.7 kB / 1.327 GB, free: 352 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.2971, allocations: 33.72 kB / 1.327 GB, free: 308 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001749/0.2973, allocations: 63.7 kB / 1.327 GB, free: 244 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.2974, allocations: 51.77 kB / 1.327 GB, free: 192 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.643e-05/0.2974, allocations: 12 kB / 1.327 GB, free: 180 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.267e-05/0.2975, allocations: 20 kB / 1.327 GB, free: 160 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.027e-05/0.2975, allocations: 27.92 kB / 1.327 GB, free: 132 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.073e-05/0.2976, allocations: 51.7 kB / 1.327 GB, free: 80 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00025/0.2978, allocations: 159.6 kB / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2978, allocations: 4 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2978, allocations: 0 / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.2978, allocations: 0 / 1.327 GB, free: 15.91 MB / 1.029 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.0006068/0.2984, allocations: 357.7 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.2985, allocations: 12.03 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.842e-05/0.2985, allocations: 46.73 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002259/0.2988, allocations: 24.88 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/0.299, allocations: 156.2 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.299, allocations: 8.219 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.2991, allocations: 15.94 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002344/0.2993, allocations: 111.2 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.2993, allocations: 0 / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.2993, allocations: 0 / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.2993, allocations: 4 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001967/0.2995, allocations: 75.94 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006008/0.3001, allocations: 347.6 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002623/0.3004, allocations: 74.61 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.3005, allocations: 44.84 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.3005, allocations: 0 / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.3005, allocations: 38.5 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.3005, allocations: 0 / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0003706/0.3009, allocations: 121.9 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/0.301, allocations: 63.27 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.3011, allocations: 160 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.3011, allocations: 25.7 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.171e-05/0.3012, allocations: 116.2 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.3013, allocations: 23.84 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.249e-05/0.3013, allocations: 25.7 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.3014, allocations: 322.8 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.3015, allocations: 27.98 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.3017, allocations: 110 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.3018, allocations: 56.78 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3018, allocations: 0 / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002368/0.3021, allocations: 113.7 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.3021, allocations: 8 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3021, allocations: 0 / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.3021, allocations: 0 / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.611e-05/0.3022, allocations: 15.92 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.3022, allocations: 0 / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.997e-05/0.3023, allocations: 23.88 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.3023, allocations: 4 kB / 1.33 GB, free: 13.23 MB / 1.029 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.000105/0.3024, allocations: 126.4 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.574e-05/0.3025, allocations: 11.89 kB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.884e-05/0.3025, allocations: 16.7 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3025, allocations: 0 / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.3025, allocations: 0 / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.3025, allocations: 0 / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002092/0.3027, allocations: 172.7 kB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.3027, allocations: 0 / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.731e-05/0.3028, allocations: 15.92 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3028, allocations: 0 / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.3028, allocations: 4 kB / 1.33 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.3028, allocations: 7.938 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3028, allocations: 0 / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002651/0.3031, allocations: 195.8 kB / 1.33 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.672e-05/0.3031, allocations: 19.88 kB / 1.33 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/0.3031, allocations: 4 kB / 1.33 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.3032, allocations: 8 kB / 1.33 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.74e-05/0.3033, allocations: 23.89 kB / 1.33 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.3033, allocations: 0 / 1.33 GB, free: 12.56 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001013/0.3034, allocations: 125.8 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3034, allocations: 4 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002412/0.3036, allocations: 23.89 kB / 1.331 GB, free: 12.41 MB / 1.029 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.0005735/0.3042, allocations: 0.7318 MB / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002321/0.3045, allocations: 67.95 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3045, allocations: 0 / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.516e-05/0.3046, allocations: 39.92 kB / 1.331 GB, free: 11.55 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.3049, allocations: 12.27 kB / 1.331 GB, free: 11.54 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00201/0.3069, allocations: 1.653 MB / 1.333 GB, free: 9.801 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.307, allocations: 93.05 kB / 1.333 GB, free: 9.688 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.727e-05/0.307, allocations: 4.672 kB / 1.333 GB, free: 9.684 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.93e-05/0.3071, allocations: 39.42 kB / 1.333 GB, free: 9.645 MB / 1.029 GB Notification: Performance of SimCode: time 6.51e-07/0.3071, allocations: 0 / 1.333 GB, free: 9.645 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02936/0.3365, allocations: 3.23 MB / 1.336 GB, free: 6.559 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.5, allocations: 5.656 kB / 1.336 GB, free: 6.555 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_12_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.csv. Warning: Get data of variable conSysSta.TRoo from file Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.csv failed! Error: Could not read variable conSysSta.TRooSet in file Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.csv. Warning: Get data of variable conSysSta.TRooSet from file Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.csv failed! Error: Could not read variable conSysSta.TOut in file Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.csv. Warning: Get data of variable conSysSta.TOut from file Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.csv failed! Error: Could not read variable conSysSta.TOutLow in file Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.csv. Warning: Get data of variable conSysSta.TOutLow from file Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.csv failed! Error: Could not read variable conSysSta.onSys in file Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.csv. Warning: Get data of variable conSysSta.onSys from file Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.98200734425336]