Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_10_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.006144/0.006144, allocations: 95.98 kB / 15.73 MB, free: 6.039 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.001589/0.001589, allocations: 199 kB / 16.68 MB, free: 5.969 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.335/1.335, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.53/2.53, allocations: 437.1 MB / 0.7106 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 67.89 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.2452, allocations: 151.6 MB / 1.166 GB, free: 7.32 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001822/0.2471, allocations: 0.8793 MB / 1.167 GB, free: 6.43 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009156/0.248, allocations: 0.8741 MB / 1.168 GB, free: 5.543 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.165e-05/0.2481, allocations: 0 / 1.168 GB, free: 5.543 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.275e-05/0.2481, allocations: 11.81 kB / 1.168 GB, free: 5.531 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.514e-05/0.2482, allocations: 19.84 kB / 1.168 GB, free: 5.512 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001415/0.2483, allocations: 31.91 kB / 1.168 GB, free: 5.48 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000131/0.2485, allocations: 119.7 kB / 1.168 GB, free: 5.363 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.2486, allocations: 41.08 kB / 1.168 GB, free: 5.32 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.184e-05/0.2487, allocations: 47.73 kB / 1.168 GB, free: 5.273 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.308e-05/0.2488, allocations: 43.83 kB / 1.168 GB, free: 5.23 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.205e-05/0.2488, allocations: 12 kB / 1.168 GB, free: 5.219 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.738e-05/0.2488, allocations: 11.94 kB / 1.168 GB, free: 5.207 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.986e-05/0.2489, allocations: 27.91 kB / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.088e-05/0.2489, allocations: 51.8 kB / 1.168 GB, free: 5.129 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001515/0.2491, allocations: 127.7 kB / 1.168 GB, free: 5.004 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.2491, allocations: 0 / 1.168 GB, free: 5.004 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.397e-06/0.2491, allocations: 0 / 1.168 GB, free: 5.004 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.2491, allocations: 7.875 kB / 1.168 GB, free: 4.996 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008009/0.2499, allocations: 462.9 kB / 1.169 GB, free: 4.492 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.25, allocations: 8.031 kB / 1.169 GB, free: 4.484 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.118e-05/0.25, allocations: 42.75 kB / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.84e-05/0.25, allocations: 16.84 kB / 1.169 GB, free: 4.418 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.2502, allocations: 184.2 kB / 1.169 GB, free: 4.199 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.2502, allocations: 4.375 kB / 1.169 GB, free: 4.195 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.2502, allocations: 8.375 kB / 1.169 GB, free: 4.188 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.2504, allocations: 98.08 kB / 1.169 GB, free: 4.086 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.2504, allocations: 3.938 kB / 1.169 GB, free: 4.082 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.2504, allocations: 4 kB / 1.169 GB, free: 4.078 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.2505, allocations: 0 / 1.169 GB, free: 4.078 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001742/0.2506, allocations: 67.97 kB / 1.169 GB, free: 4.012 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006635/0.2513, allocations: 404.5 kB / 1.17 GB, free: 3.566 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.2515, allocations: 66.55 kB / 1.17 GB, free: 3.492 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.96e-05/0.2516, allocations: 28.97 kB / 1.17 GB, free: 3.461 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.2516, allocations: 0 / 1.17 GB, free: 3.461 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.2516, allocations: 34.56 kB / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 7.62e-07/0.2516, allocations: 0 / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of matching and sorting (n=5): time 0.0003251/0.2519, allocations: 117.5 kB / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.252, allocations: 63.33 kB / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.2521, allocations: 153.5 kB / 1.17 GB, free: 3.066 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.2521, allocations: 29.7 kB / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.868e-05/0.2522, allocations: 104.1 kB / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.936e-05/0.2522, allocations: 15.89 kB / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.26e-05/0.2523, allocations: 21.72 kB / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.2524, allocations: 326.8 kB / 1.171 GB, free: 2.555 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.221e-05/0.2525, allocations: 23.98 kB / 1.171 GB, free: 2.531 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.492e-05/0.2526, allocations: 27.98 kB / 1.171 GB, free: 2.504 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.2527, allocations: 48.83 kB / 1.171 GB, free: 2.453 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.2527, allocations: 0 / 1.171 GB, free: 2.453 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002084/0.2529, allocations: 113.5 kB / 1.171 GB, free: 2.336 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.253, allocations: 5.875 kB / 1.171 GB, free: 2.332 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/0.253, allocations: 4 kB / 1.171 GB, free: 2.328 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.253, allocations: 0 / 1.171 GB, free: 2.328 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.973e-05/0.2531, allocations: 7.984 kB / 1.171 GB, free: 2.32 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.2531, allocations: 3.938 kB / 1.171 GB, free: 2.316 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001656/0.2532, allocations: 36 kB / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.2533, allocations: 0 / 1.171 GB, free: 2.281 MB / 0.92 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 (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 prepare postOptimizeDAE: time 9.092e-05/0.2534, allocations: 121.8 kB / 1.171 GB, free: 2.152 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/0.2534, allocations: 7.953 kB / 1.171 GB, free: 2.145 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.123e-05/0.2534, allocations: 16.3 kB / 1.171 GB, free: 2.129 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.2534, allocations: 7.875 kB / 1.171 GB, free: 2.121 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.2534, allocations: 3.938 kB / 1.171 GB, free: 2.117 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-06/0.2534, allocations: 0 / 1.171 GB, free: 2.117 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.2536, allocations: 197.6 kB / 1.171 GB, free: 1.875 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2537, allocations: 8 kB / 1.171 GB, free: 1.867 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.909e-05/0.2537, allocations: 4 kB / 1.171 GB, free: 1.863 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.2537, allocations: 0 / 1.171 GB, free: 1.863 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.2537, allocations: 3.984 kB / 1.171 GB, free: 1.859 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.2537, allocations: 4 kB / 1.171 GB, free: 1.855 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.2537, allocations: 3.938 kB / 1.171 GB, free: 1.852 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002309/0.254, allocations: 179.5 kB / 1.171 GB, free: 1.66 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.868e-05/0.254, allocations: 93.33 kB / 1.171 GB, free: 1.551 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.2541, allocations: 0 / 1.171 GB, free: 1.551 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.2543, allocations: 27.97 kB / 1.171 GB, free: 1.523 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.258e-05/0.2543, allocations: 15.92 kB / 1.172 GB, free: 1.508 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.2543, allocations: 7.875 kB / 1.172 GB, free: 1.5 MB / 0.92 GB Notification: Performance of sorting global known variables: time 8.371e-05/0.2544, allocations: 120.9 kB / 1.172 GB, free: 1.383 MB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.2544, allocations: 0 / 1.172 GB, free: 1.383 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002164/0.2546, allocations: 20 kB / 1.172 GB, free: 1.363 MB / 0.92 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 (5): * Single equations (assignments): 5 * 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.000511/0.2552, allocations: 0.7166 MB / 1.172 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002008/0.2554, allocations: 71.89 kB / 1.172 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.2554, allocations: 4 kB / 1.172 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 9.694e-05/0.2555, allocations: 27.98 kB / 1.172 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.2557, allocations: 15.94 kB / 1.172 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/0.2574, allocations: 1.595 MB / 1.174 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/0.2577, allocations: 0.6963 MB / 1.175 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.195e-05/0.2577, allocations: 4 kB / 1.175 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.433e-05/0.2578, allocations: 31.42 kB / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.2578, allocations: 4 kB / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7296/0.9874, allocations: 2.753 MB / 1.177 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.35/14.33, allocations: 15.83 kB / 1.177 GB, free: 11.43 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat --tempDir=temp_Buildings_10_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches