Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.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.001297/0.001297, allocations: 114.7 kB / 17.6 MB, free: 4.668 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.001351/0.001351, allocations: 189.9 kB / 20.78 MB, free: 1.5 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.373/1.373, allocations: 225.6 MB / 249.4 MB, free: 3.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.587/2.587, allocations: 476.7 MB / 0.7629 GB, free: 15.13 MB / 0.6075 GB " [Timeout remaining time 177] 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.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_11_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_11_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 63.89 kB / 1.107 GB, free: 5.113 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8491/0.851, allocations: 168.7 MB / 1.271 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002344/0.8534, allocations: 1.492 MB / 1.273 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0006263/0.854, allocations: 447.4 kB / 1.273 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.569e-05/0.854, allocations: 0.9375 kB / 1.273 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.838e-05/0.8541, allocations: 5.25 kB / 1.273 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.474e-05/0.8541, allocations: 14.41 kB / 1.273 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001442/0.8543, allocations: 26.44 kB / 1.273 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.294e-05/0.8544, allocations: 46.67 kB / 1.273 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.283e-05/0.8545, allocations: 10.11 kB / 1.273 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.873e-05/0.8545, allocations: 27.12 kB / 1.273 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.28e-05/0.8546, allocations: 22.77 kB / 1.274 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.8546, allocations: 4.219 kB / 1.274 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.194e-05/0.8546, allocations: 4.312 kB / 1.274 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.163e-05/0.8546, allocations: 17.45 kB / 1.274 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.99e-05/0.8547, allocations: 17.14 kB / 1.274 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.99e-05/0.8548, allocations: 52.83 kB / 1.274 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.8548, allocations: 1.281 kB / 1.274 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.092e-06/0.8548, allocations: 0 / 1.274 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.8548, allocations: 4.75 kB / 1.274 GB, free: 6.242 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004223/0.8552, allocations: 356.7 kB / 1.274 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.8552, allocations: 10.12 kB / 1.274 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.458e-05/0.8553, allocations: 37.73 kB / 1.274 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.663e-05/0.8553, allocations: 4.438 kB / 1.274 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.32e-05/0.8554, allocations: 179.9 kB / 1.274 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.8554, allocations: 3.297 kB / 1.274 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.8554, allocations: 4.906 kB / 1.274 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.8555, allocations: 61.95 kB / 1.274 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.8555, allocations: 0 / 1.274 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.8555, allocations: 6.016 kB / 1.274 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.8555, allocations: 0.75 kB / 1.274 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.246e-05/0.8556, allocations: 31.09 kB / 1.274 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003878/0.856, allocations: 301.7 kB / 1.275 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.801e-05/0.8561, allocations: 47.52 kB / 1.275 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.972e-05/0.8561, allocations: 26.02 kB / 1.275 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.8561, allocations: 4.938 kB / 1.275 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001383/0.8563, allocations: 70.56 kB / 1.275 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.8563, allocations: 0 / 1.275 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.0002008/0.8565, allocations: 95.84 kB / 1.275 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.8565, allocations: 58.14 kB / 1.275 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.213e-05/0.8565, allocations: 107.7 kB / 1.275 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.8566, allocations: 32.27 kB / 1.275 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.248e-05/0.8566, allocations: 82.17 kB / 1.275 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.8566, allocations: 25.61 kB / 1.275 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-05/0.8566, allocations: 33.5 kB / 1.275 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.628e-05/0.8567, allocations: 322.4 kB / 1.275 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.611e-05/0.8567, allocations: 16.72 kB / 1.275 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.475e-05/0.8568, allocations: 52.41 kB / 1.275 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.369e-05/0.8568, allocations: 63.41 kB / 1.276 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.8568, allocations: 0 / 1.276 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001275/0.857, allocations: 99 kB / 1.276 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.857, allocations: 5.312 kB / 1.276 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.857, allocations: 4.969 kB / 1.276 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.857, allocations: 1.5 kB / 1.276 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.682e-05/0.8571, allocations: 10.58 kB / 1.276 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.8571, allocations: 1.438 kB / 1.276 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.396e-05/0.8571, allocations: 18.22 kB / 1.276 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.8571, allocations: 11.5 kB / 1.276 GB, free: 4.273 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 5.449e-05/0.8572, allocations: 118.8 kB / 1.276 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.309e-05/0.8572, allocations: 7.234 kB / 1.276 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.532e-05/0.8572, allocations: 7.969 kB / 1.276 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.8572, allocations: 5.562 kB / 1.276 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.8572, allocations: 0.7812 kB / 1.276 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.8572, allocations: 3.938 kB / 1.276 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003009/0.8575, allocations: 352.9 kB / 1.276 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.8575, allocations: 0 / 1.276 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.662e-05/0.8576, allocations: 6.188 kB / 1.276 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.8576, allocations: 1 kB / 1.276 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.8576, allocations: 5.062 kB / 1.276 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.8576, allocations: 12.84 kB / 1.276 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.8576, allocations: 0 / 1.276 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.8577, allocations: 177.8 kB / 1.276 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.738e-05/0.8577, allocations: 79.91 kB / 1.276 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.8577, allocations: 9 kB / 1.276 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.39e-05/0.8578, allocations: 11.94 kB / 1.276 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.768e-05/0.8579, allocations: 10.3 kB / 1.276 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-06/0.8579, allocations: 1.5 kB / 1.276 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.296e-05/0.8579, allocations: 85.73 kB / 1.277 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.1e-08/0.8579, allocations: 0.5938 kB / 1.277 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002364/0.8581, allocations: 23.39 kB / 1.277 GB, free: 3.441 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000273/0.8584, allocations: 0.706 MB / 1.277 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001339/0.8585, allocations: 60.05 kB / 1.277 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.8585, allocations: 0 / 1.277 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.083e-05/0.8586, allocations: 25.7 kB / 1.277 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.8589, allocations: 19.33 kB / 1.277 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.8599, allocations: 1.381 MB / 1.279 GB, free: 17.44 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.8602, allocations: 0.685 MB / 1.279 GB, free: 16.75 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.813e-05/0.8603, allocations: 9.594 kB / 1.279 GB, free: 16.74 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.906e-05/0.8603, allocations: 17.19 kB / 1.279 GB, free: 16.73 MB / 1.014 GB Notification: Performance of SimCode: time 4.81e-07/0.8603, allocations: 3.938 kB / 1.279 GB, free: 16.73 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.49/2.351, allocations: 1.771 MB / 1.281 GB, free: 16.33 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.56/16.91, allocations: 6.016 kB / 1.281 GB, free: 16.32 MB / 1.014 GB " [Timeout remaining time 283] (rm -f Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_Continuous_Examples_OffTimer.fmu > Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.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: 22.606712387991138]