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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009349/0.0009349, allocations: 97.72 kB / 15.36 MB, free: 0.7305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009848/0.0009848, allocations: 176.4 kB / 16.27 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.552/2.552, allocations: 462.7 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003423/0.0003423, allocations: 11.34 kB / 0.9029 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2427, allocations: 159.6 MB / 1.059 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.000954/0.2437, allocations: 0.6349 MB / 1.059 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008554/0.2446, allocations: 0.8858 MB / 1.06 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.163e-05/0.2446, allocations: 8 kB / 1.06 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.677e-05/0.2446, allocations: 7.875 kB / 1.06 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.437e-05/0.2447, allocations: 15.84 kB / 1.06 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001321/0.2448, allocations: 39.97 kB / 1.06 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.245, allocations: 111.7 kB / 1.06 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.2451, allocations: 49.52 kB / 1.06 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.447e-05/0.2452, allocations: 39.78 kB / 1.061 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.052e-05/0.2453, allocations: 47.7 kB / 1.061 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.2453, allocations: 7.938 kB / 1.061 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.229e-05/0.2453, allocations: 4 kB / 1.061 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.953e-05/0.2453, allocations: 15.92 kB / 1.061 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.437e-05/0.2454, allocations: 73.38 kB / 1.061 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.2455, allocations: 139.7 kB / 1.061 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.2455, allocations: 0 / 1.061 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.384e-06/0.2455, allocations: 0 / 1.061 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.996e-06/0.2455, allocations: 7.938 kB / 1.061 GB, free: 2.773 MB / 0.8106 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.0004596/0.246, allocations: 411.2 kB / 1.061 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.246, allocations: 15.97 kB / 1.061 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.211e-05/0.2461, allocations: 38.73 kB / 1.061 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.549e-05/0.2461, allocations: 20.75 kB / 1.061 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.2464, allocations: 216.8 kB / 1.061 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.2464, allocations: 4.375 kB / 1.061 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.2464, allocations: 15.94 kB / 1.062 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.2466, allocations: 103 kB / 1.062 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.2466, allocations: 3.984 kB / 1.062 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.2467, allocations: 4 kB / 1.062 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-06/0.2467, allocations: 4 kB / 1.062 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001976/0.2469, allocations: 75.95 kB / 1.062 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004944/0.2474, allocations: 412.3 kB / 1.062 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002408/0.2476, allocations: 82.61 kB / 1.062 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.2477, allocations: 52.83 kB / 1.062 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/0.2478, allocations: 4 kB / 1.062 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.733e-05/0.2478, allocations: 34.5 kB / 1.062 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.163e-06/0.2478, allocations: 0 / 1.062 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0003509/0.2481, allocations: 141.4 kB / 1.062 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.2482, allocations: 51.41 kB / 1.062 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.2483, allocations: 159.8 kB / 1.063 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.2483, allocations: 29.7 kB / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.683e-05/0.2484, allocations: 108.3 kB / 1.063 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.2484, allocations: 15.91 kB / 1.063 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.933e-05/0.2485, allocations: 21.7 kB / 1.063 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.093e-05/0.2485, allocations: 326.8 kB / 1.063 GB, free: 256 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.453e-05/0.2486, allocations: 31.98 kB / 1.063 GB, free: 224 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.2488, allocations: 58.55 kB / 1.063 GB, free: 156 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.2489, allocations: 76.91 kB / 1.063 GB, free: 76 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2489, allocations: 0 / 1.063 GB, free: 76 kB / 0.8106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002412/0.2492, allocations: 121.4 kB / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.418e-06/0.2492, allocations: 12 kB / 1.063 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.645e-06/0.2492, allocations: 0 / 1.063 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.612e-06/0.2492, allocations: 0 / 1.063 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.659e-05/0.2493, allocations: 15.98 kB / 1.063 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.2493, allocations: 3.938 kB / 1.063 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.25e-05/0.2494, allocations: 15.98 kB / 1.063 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.2494, allocations: 0 / 1.063 GB, free: 15.9 MB / 0.8262 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 8.109e-05/0.2495, allocations: 125.8 kB / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.36e-05/0.2496, allocations: 15.75 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.356e-05/0.2496, allocations: 20.7 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.2496, allocations: 0 / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/0.2496, allocations: 0 / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.483e-06/0.2496, allocations: 0 / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001888/0.2498, allocations: 209.5 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2498, allocations: 0 / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.078e-05/0.2499, allocations: 23.86 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2499, allocations: 4 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.2499, allocations: 7.984 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2499, allocations: 0 / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.25, allocations: 3.984 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.2502, allocations: 199.4 kB / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.082e-05/0.2503, allocations: 88.95 kB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.2503, allocations: 0 / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.2504, allocations: 11.98 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.283e-05/0.2505, allocations: 15.97 kB / 1.064 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.2505, allocations: 4.094 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.791e-05/0.2506, allocations: 121.4 kB / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2506, allocations: 0 / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002334/0.2508, allocations: 23.91 kB / 1.064 GB, free: 14.95 MB / 0.8262 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.0004744/0.2513, allocations: 0.7396 MB / 1.065 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002055/0.2515, allocations: 83.89 kB / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2515, allocations: 0 / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.624e-05/0.2516, allocations: 35.98 kB / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.2519, allocations: 15.98 kB / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/0.2535, allocations: 1.705 MB / 1.067 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002168/0.2537, allocations: 0.708 MB / 1.067 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.163e-05/0.2538, allocations: 4.672 kB / 1.067 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.183e-05/0.2539, allocations: 35.42 kB / 1.067 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of SimCode: time 1.804e-06/0.2539, allocations: 96 / 1.067 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.641/1.895, allocations: 2.304 MB / 1.07 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002206/1.895, allocations: 214.5 kB / 1.07 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.7/3.596, allocations: 4.172 kB / 1.07 GB, free: 9.113 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/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) Reference file matches