Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 106.9 kB / 16.37 MB, free: 6.477 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.001055/0.001055, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.196/2.196, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001308, allocations: 66.39 kB / 0.814 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2451, allocations: 140.4 MB / 0.9511 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002176/0.2473, allocations: 0.8823 MB / 0.952 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009504/0.2483, allocations: 0.8741 MB / 0.9528 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.707e-05/0.2484, allocations: 0 / 0.9528 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.995e-05/0.2484, allocations: 11.86 kB / 0.9529 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.651e-05/0.2485, allocations: 19.81 kB / 0.9529 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001697/0.2487, allocations: 39.94 kB / 0.9529 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.2488, allocations: 107.6 kB / 0.953 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.249, allocations: 33.11 kB / 0.9531 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.2491, allocations: 51.83 kB / 0.9531 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.752e-05/0.2492, allocations: 55.77 kB / 0.9532 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.2492, allocations: 8 kB / 0.9532 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.827e-05/0.2493, allocations: 12 kB / 0.9532 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.191e-05/0.2493, allocations: 27.86 kB / 0.9532 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.275e-05/0.2494, allocations: 43.73 kB / 0.9532 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.2495, allocations: 123.5 kB / 0.9534 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2495, allocations: 0 / 0.9534 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2495, allocations: 0 / 0.9534 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.2495, allocations: 0 / 0.9534 GB, free: 5.746 MB / 0.7325 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.000897/0.2504, allocations: 468 kB / 0.9538 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.2505, allocations: 12.03 kB / 0.9538 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.028e-05/0.2505, allocations: 8.844 kB / 0.9538 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.2507, allocations: 199.9 kB / 0.954 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.2507, allocations: 4.375 kB / 0.954 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.2507, allocations: 8.375 kB / 0.954 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.251, allocations: 94.14 kB / 0.9541 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.251, allocations: 192 / 0.9541 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.251, allocations: 15.88 kB / 0.9541 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.251, allocations: 4 kB / 0.9541 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/0.2512, allocations: 63.95 kB / 0.9542 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007217/0.2519, allocations: 404.5 kB / 0.9546 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.2521, allocations: 62.48 kB / 0.9546 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.329e-05/0.2522, allocations: 32.97 kB / 0.9547 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.2522, allocations: 0 / 0.9547 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/0.2522, allocations: 38.56 kB / 0.9547 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 8.71e-07/0.2522, allocations: 0 / 0.9547 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5): time 0.0003346/0.2526, allocations: 105.6 kB / 0.9548 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.2526, allocations: 55.39 kB / 0.9549 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.2527, allocations: 156.5 kB / 0.955 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.2528, allocations: 29.7 kB / 0.955 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.7e-05/0.2528, allocations: 108 kB / 0.9551 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.2529, allocations: 15.78 kB / 0.9552 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.588e-05/0.2529, allocations: 25.72 kB / 0.9552 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.253, allocations: 322.8 kB / 0.9555 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.492e-05/0.2531, allocations: 27.98 kB / 0.9555 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.749e-05/0.2532, allocations: 31.97 kB / 0.9556 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.2533, allocations: 48.83 kB / 0.9556 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.2533, allocations: 0 / 0.9556 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002067/0.2536, allocations: 97.56 kB / 0.9557 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.2536, allocations: 4 kB / 0.9557 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.2536, allocations: 0 / 0.9557 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.2536, allocations: 4 kB / 0.9557 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.485e-05/0.2537, allocations: 11.92 kB / 0.9557 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.2537, allocations: 3.938 kB / 0.9557 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001729/0.2539, allocations: 35.91 kB / 0.9557 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.2539, allocations: 0 / 0.9557 GB, free: 3.074 MB / 0.7325 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.773e-05/0.254, allocations: 121.3 kB / 0.9559 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.137e-05/0.2541, allocations: 11.84 kB / 0.9559 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.051e-05/0.2541, allocations: 12.31 kB / 0.9559 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.2541, allocations: 8.234 kB / 0.9559 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.2541, allocations: 7.938 kB / 0.9559 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.2541, allocations: 4 kB / 0.9559 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.2543, allocations: 197.5 kB / 0.9561 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2543, allocations: 0 / 0.9561 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.102e-05/0.2544, allocations: 8 kB / 0.9561 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2544, allocations: 0 / 0.9561 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.2544, allocations: 3.984 kB / 0.9561 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2544, allocations: 0 / 0.9561 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.2545, allocations: 7.938 kB / 0.9561 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002394/0.2547, allocations: 191.3 kB / 0.9563 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.982e-05/0.2548, allocations: 85.02 kB / 0.9564 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.2548, allocations: 4 kB / 0.9564 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.255, allocations: 19.97 kB / 0.9564 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.926e-05/0.255, allocations: 23.92 kB / 0.9564 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-06/0.2551, allocations: 0 / 0.9564 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.114e-05/0.2551, allocations: 116.7 kB / 0.9565 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2551, allocations: 0 / 0.9565 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002359/0.2554, allocations: 16 kB / 0.9565 GB, free: 2.168 MB / 0.7325 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.0001015/0.2555, allocations: 103.2 kB / 0.9566 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002196/0.2557, allocations: 71.89 kB / 0.9567 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2557, allocations: 0 / 0.9567 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.011e-05/0.2558, allocations: 31.98 kB / 0.9567 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.2561, allocations: 9.891 kB / 0.9568 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004113/0.2565, allocations: 207.6 kB / 0.957 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.2568, allocations: 0.7051 MB / 0.9576 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.971e-05/0.2568, allocations: 7.984 kB / 0.9576 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.644e-05/0.2569, allocations: 19.42 kB / 0.9577 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.2569, allocations: 0 / 0.9577 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of Templates: time 0.003602/0.2605, allocations: 1.356 MB / 0.959 GB, free: 15.61 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches