Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001994/0.001994, allocations: 104.4 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002564/0.002564, allocations: 195.7 kB / 19.41 MB, free: 3.676 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.665/2.665, allocations: 443.5 MB / 0.7287 GB, free: 13.23 MB / 0.5919 GB " [Timeout remaining time 177] 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.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 71.88 kB / 1.056 GB, free: 5.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9391/0.941, allocations: 160.7 MB / 1.213 GB, free: 3.785 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002203/0.9432, allocations: 0.7446 MB / 1.214 GB, free: 3.227 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001836/0.945, allocations: 1.271 MB / 1.215 GB, free: 2.199 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.895e-05/0.9451, allocations: 1.156 kB / 1.215 GB, free: 2.199 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.688e-05/0.9452, allocations: 3.938 kB / 1.215 GB, free: 2.195 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.123e-05/0.9452, allocations: 31.09 kB / 1.215 GB, free: 2.168 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007998/0.946, allocations: 236.9 kB / 1.215 GB, free: 2.008 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004718/0.9465, allocations: 260.3 kB / 1.215 GB, free: 1.859 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.9466, allocations: 10.2 kB / 1.215 GB, free: 1.855 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002198/0.9469, allocations: 100.4 kB / 1.216 GB, free: 1.801 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002309/0.9471, allocations: 93.11 kB / 1.216 GB, free: 1.734 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.095e-05/0.9472, allocations: 23.38 kB / 1.216 GB, free: 1.734 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.9473, allocations: 38.05 kB / 1.216 GB, free: 1.727 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.005e-05/0.9473, allocations: 34.39 kB / 1.216 GB, free: 1.699 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001596/0.9475, allocations: 92.17 kB / 1.216 GB, free: 1.637 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003967/0.9479, allocations: 230.6 kB / 1.216 GB, free: 1.461 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.9479, allocations: 5.344 kB / 1.216 GB, free: 1.457 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.753e-06/0.9479, allocations: 0 / 1.216 GB, free: 1.457 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.9479, allocations: 0 / 1.216 GB, free: 1.457 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001043/0.949, allocations: 498.5 kB / 1.216 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/0.949, allocations: 14.33 kB / 1.217 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.756e-05/0.9491, allocations: 42.02 kB / 1.217 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.405e-05/0.9492, allocations: 21.56 kB / 1.217 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006738/0.9499, allocations: 254.8 kB / 1.217 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.274e-05/0.9499, allocations: 16.09 kB / 1.217 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.281e-05/0.95, allocations: 24.77 kB / 1.217 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002808/0.9502, allocations: 126.5 kB / 1.217 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.9503, allocations: 0 / 1.217 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.9503, allocations: 10.39 kB / 1.217 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.9503, allocations: 4.812 kB / 1.217 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.9504, allocations: 63.52 kB / 1.217 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009484/0.9514, allocations: 0.5046 MB / 1.218 GB, free: 4 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003332/0.9517, allocations: 143.3 kB / 1.218 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.9518, allocations: 50.72 kB / 1.218 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.9518, allocations: 1.281 kB / 1.218 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004772/0.9523, allocations: 213.7 kB / 1.218 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=22): time 1.834e-06/0.9523, allocations: 1.125 kB / 1.218 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22): time 0.0007012/0.953, allocations: 313.4 kB / 1.218 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.359e-05/0.9531, allocations: 89.66 kB / 1.218 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.9533, allocations: 128.5 kB / 1.218 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.386e-05/0.9533, allocations: 36.77 kB / 1.218 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.163e-05/0.9534, allocations: 102.6 kB / 1.219 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.346e-05/0.9535, allocations: 54.66 kB / 1.219 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/0.9537, allocations: 75.42 kB / 1.219 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000188/0.9538, allocations: 326.2 kB / 1.219 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002232/0.9541, allocations: 85.75 kB / 1.219 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002656/0.9543, allocations: 155.6 kB / 1.219 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003998/0.9547, allocations: 249.7 kB / 1.219 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.9547, allocations: 0 / 1.219 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006608/0.9554, allocations: 363.2 kB / 1.22 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.699e-05/0.9555, allocations: 68.95 kB / 1.22 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.9555, allocations: 2.109 kB / 1.22 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.9555, allocations: 3.094 kB / 1.22 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.977e-05/0.9556, allocations: 28.05 kB / 1.22 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.9556, allocations: 11.33 kB / 1.22 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003465/0.9559, allocations: 63.98 kB / 1.22 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.678e-05/0.956, allocations: 21.98 kB / 1.22 GB, free: 14.06 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0001494/0.9561, allocations: 143.4 kB / 1.22 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.432e-05/0.9562, allocations: 20.16 kB / 1.22 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.193e-05/0.9562, allocations: 9.656 kB / 1.22 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.9562, allocations: 7.219 kB / 1.22 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.9562, allocations: 1.062 kB / 1.22 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.9562, allocations: 3.984 kB / 1.22 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006848/0.9569, allocations: 0.6022 MB / 1.221 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.9569, allocations: 5.062 kB / 1.221 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.83e-05/0.957, allocations: 18.52 kB / 1.221 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.957, allocations: 5.281 kB / 1.221 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.957, allocations: 2.344 kB / 1.221 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.957, allocations: 6.047 kB / 1.221 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.957, allocations: 0 / 1.221 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004717/0.9575, allocations: 422.8 kB / 1.221 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.153e-05/0.9575, allocations: 93.7 kB / 1.221 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.664e-05/0.9576, allocations: 11.28 kB / 1.221 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.9577, allocations: 16.86 kB / 1.221 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.532e-05/0.9578, allocations: 23.12 kB / 1.221 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-05/0.9578, allocations: 20.27 kB / 1.221 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.41e-05/0.9579, allocations: 98.14 kB / 1.221 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.9579, allocations: 0 / 1.221 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003691/0.9582, allocations: 61.66 kB / 1.222 GB, free: 12.82 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0008346/0.9591, allocations: 0.9624 MB / 1.222 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005061/0.9596, allocations: 316.9 kB / 1.223 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.9596, allocations: 0 / 1.223 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001764/0.9597, allocations: 89.55 kB / 1.223 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003895/0.9601, allocations: 28.06 kB / 1.223 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002782/0.9629, allocations: 2.291 MB / 1.225 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.9632, allocations: 0.7048 MB / 1.226 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.003e-05/0.9633, allocations: 19.48 kB / 1.226 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.87e-05/0.9634, allocations: 36.7 kB / 1.226 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of SimCode: time 4.41e-07/0.9634, allocations: 1.062 kB / 1.226 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02641/0.9898, allocations: 4.12 MB / 1.23 GB, free: 6.277 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.984/8.974, allocations: 12.56 kB / 1.23 GB, free: 6.266 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.059130017179996]