Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_11_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.006207/0.006206, allocations: 101.8 kB / 15.73 MB, free: 6.043 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.001691/0.001691, allocations: 188.7 kB / 16.67 MB, free: 5.965 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.259/1.259, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.476/2.476, allocations: 469.8 MB / 0.7425 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 59.91 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2446, allocations: 159.1 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001784/0.2465, allocations: 0.9232 MB / 1.221 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009196/0.2474, allocations: 0.8896 MB / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.767e-05/0.2475, allocations: 0 / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.296e-05/0.2475, allocations: 11.81 kB / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.517e-05/0.2476, allocations: 23.78 kB / 1.222 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001485/0.2477, allocations: 43.95 kB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.2479, allocations: 123.6 kB / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.248, allocations: 57.42 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.876e-05/0.2481, allocations: 51.8 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.028e-05/0.2482, allocations: 59.75 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.2483, allocations: 12 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.973e-05/0.2483, allocations: 16 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.187e-05/0.2483, allocations: 27.91 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.957e-05/0.2484, allocations: 59.67 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.2485, allocations: 151.3 kB / 1.223 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.2486, allocations: 0 / 1.223 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2486, allocations: 0 / 1.223 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.2486, allocations: 0 / 1.223 GB, free: 11.88 MB / 0.9825 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.0005445/0.2491, allocations: 442.8 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.2492, allocations: 12.03 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.068e-05/0.2492, allocations: 38.75 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.139e-05/0.2492, allocations: 12.84 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/0.2495, allocations: 221.5 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.2495, allocations: 12.36 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.2496, allocations: 15.94 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.2498, allocations: 105.6 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.2498, allocations: 0 / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.557e-06/0.2498, allocations: 4 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.2498, allocations: 4 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001778/0.25, allocations: 67.95 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005156/0.2505, allocations: 392.7 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002294/0.2507, allocations: 86.53 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.288e-05/0.2508, allocations: 44.91 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.2509, allocations: 0 / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.2509, allocations: 38.44 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 7.92e-07/0.2509, allocations: 0 / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0003467/0.2512, allocations: 129.7 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.2513, allocations: 55.41 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.2514, allocations: 155.8 kB / 1.224 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.2514, allocations: 25.7 kB / 1.224 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.502e-05/0.2515, allocations: 120.2 kB / 1.224 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.446e-05/0.2515, allocations: 15.89 kB / 1.224 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-05/0.2516, allocations: 25.72 kB / 1.224 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.2517, allocations: 322.8 kB / 1.225 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.678e-05/0.2518, allocations: 31.97 kB / 1.225 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.2519, allocations: 58.5 kB / 1.225 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.2521, allocations: 60.77 kB / 1.225 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2521, allocations: 4 kB / 1.225 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002092/0.2523, allocations: 113.5 kB / 1.225 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.2523, allocations: 8 kB / 1.225 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.2523, allocations: 0 / 1.225 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.686e-06/0.2523, allocations: 3.938 kB / 1.225 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.415e-05/0.2524, allocations: 11.98 kB / 1.225 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.2524, allocations: 0 / 1.225 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.639e-05/0.2525, allocations: 19.92 kB / 1.225 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.2525, allocations: 0 / 1.225 GB, free: 9.027 MB / 0.9825 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.803e-05/0.2526, allocations: 125.8 kB / 1.225 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.14e-05/0.2527, allocations: 15.84 kB / 1.225 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.464e-05/0.2527, allocations: 16.7 kB / 1.225 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.2527, allocations: 0 / 1.225 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.2527, allocations: 0 / 1.225 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.2527, allocations: 0 / 1.225 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002015/0.2529, allocations: 213.6 kB / 1.225 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2529, allocations: 0 / 1.225 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.612e-05/0.253, allocations: 19.86 kB / 1.225 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.253, allocations: 4 kB / 1.225 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.026e-06/0.253, allocations: 0 / 1.225 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.253, allocations: 4 kB / 1.225 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.253, allocations: 4.266 kB / 1.225 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002372/0.2533, allocations: 187.5 kB / 1.226 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.074e-05/0.2533, allocations: 96.88 kB / 1.226 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.2534, allocations: 11.94 kB / 1.226 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.2535, allocations: 11.98 kB / 1.226 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.94e-05/0.2535, allocations: 15.98 kB / 1.226 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.2535, allocations: 3.984 kB / 1.226 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.884e-05/0.2536, allocations: 117 kB / 1.226 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.2536, allocations: 0 / 1.226 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002113/0.2538, allocations: 19.94 kB / 1.226 GB, free: 8.082 MB / 0.9825 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.0005135/0.2544, allocations: 0.7483 MB / 1.227 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002111/0.2546, allocations: 75.89 kB / 1.227 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.2546, allocations: 0 / 1.227 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.636e-05/0.2547, allocations: 31.98 kB / 1.227 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.2549, allocations: 17.55 kB / 1.227 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.2566, allocations: 1.65 MB / 1.228 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.2569, allocations: 0.7002 MB / 1.229 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.723e-05/0.2569, allocations: 12.66 kB / 1.229 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.646e-05/0.257, allocations: 35.42 kB / 1.229 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of SimCode: time 2e-07/0.257, allocations: 0 / 1.229 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.944/6.201, allocations: 2.674 MB / 1.232 GB, free: 2.125 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.18/25.38, allocations: 8.391 kB / 1.232 GB, free: 2.121 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches