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.00128/0.00128, allocations: 110 kB / 16.46 MB, free: 6.035 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.001286/0.001286, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.406/1.406, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.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.728/2.728, allocations: 476.7 MB / 0.7611 GB, free: 11.31 MB / 0.6231 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.001975/0.001975, allocations: 64.08 kB / 1.104 GB, free: 9.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7837/0.7857, allocations: 168.7 MB / 1.269 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.003137/0.7888, allocations: 1.471 MB / 1.27 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008936/0.7897, allocations: 456.4 kB / 1.271 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.902e-05/0.7898, allocations: 0 / 1.271 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.336e-05/0.7898, allocations: 3.938 kB / 1.271 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.7899, allocations: 3.938 kB / 1.271 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001724/0.7901, allocations: 27.91 kB / 1.271 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.7902, allocations: 51.91 kB / 1.271 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.376e-05/0.7903, allocations: 11.98 kB / 1.271 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.302e-05/0.7903, allocations: 27.86 kB / 1.271 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.156e-05/0.7904, allocations: 19.92 kB / 1.271 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.7904, allocations: 4 kB / 1.271 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.417e-05/0.7904, allocations: 4 kB / 1.271 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.338e-05/0.7905, allocations: 19.91 kB / 1.271 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.55e-05/0.7905, allocations: 15.94 kB / 1.271 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.7906, allocations: 49.58 kB / 1.271 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.7906, allocations: 0 / 1.271 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.353e-06/0.7906, allocations: 0 / 1.271 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.806e-06/0.7907, allocations: 0 / 1.271 GB, free: 3.016 MB / 0.9669 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.0005468/0.7912, allocations: 369.4 kB / 1.271 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.7912, allocations: 8.031 kB / 1.271 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.86e-05/0.7913, allocations: 34.75 kB / 1.271 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.966e-05/0.7913, allocations: 4.938 kB / 1.271 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.7915, allocations: 188.1 kB / 1.271 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.7915, allocations: 384 / 1.271 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.7915, allocations: 8.375 kB / 1.271 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.7916, allocations: 57.81 kB / 1.271 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.7916, allocations: 0 / 1.271 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.7916, allocations: 7.984 kB / 1.271 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.7916, allocations: 0 / 1.271 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.866e-05/0.7917, allocations: 31.92 kB / 1.271 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004968/0.7922, allocations: 288.8 kB / 1.272 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.7923, allocations: 58.58 kB / 1.272 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.585e-05/0.7924, allocations: 28.94 kB / 1.272 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.7924, allocations: 0 / 1.272 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001982/0.7926, allocations: 71.34 kB / 1.272 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.7926, allocations: 0 / 1.272 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0002542/0.7928, allocations: 97.61 kB / 1.272 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.7929, allocations: 55.41 kB / 1.272 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.793, allocations: 109.8 kB / 1.272 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.793, allocations: 33.7 kB / 1.272 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.606e-05/0.7931, allocations: 88.08 kB / 1.272 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.354e-05/0.7931, allocations: 31.77 kB / 1.272 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.658e-05/0.7932, allocations: 21.72 kB / 1.272 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.7933, allocations: 322.8 kB / 1.273 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.118e-05/0.7934, allocations: 20.31 kB / 1.273 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.285e-05/0.7934, allocations: 47.42 kB / 1.273 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.924e-05/0.7935, allocations: 71.36 kB / 1.273 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.7935, allocations: 0 / 1.273 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001635/0.7937, allocations: 97.5 kB / 1.273 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.7937, allocations: 8 kB / 1.273 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.7937, allocations: 0 / 1.273 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.7937, allocations: 0 / 1.273 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.934e-05/0.7938, allocations: 12 kB / 1.273 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.7938, allocations: 11.97 kB / 1.273 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.837e-05/0.7939, allocations: 11.92 kB / 1.273 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.7939, allocations: 7.938 kB / 1.273 GB, free: 0.6016 MB / 0.9669 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 0.0001059/0.794, allocations: 119.1 kB / 1.273 GB, free: 488 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.516e-05/0.794, allocations: 7.953 kB / 1.273 GB, free: 480 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.008e-05/0.794, allocations: 3.969 kB / 1.273 GB, free: 464 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.794, allocations: 288 / 1.273 GB, free: 464 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.794, allocations: 3.984 kB / 1.273 GB, free: 460 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.794, allocations: 4 kB / 1.273 GB, free: 456 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004417/0.7945, allocations: 358.5 kB / 1.273 GB, free: 40 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.7945, allocations: 3.984 kB / 1.273 GB, free: 36 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.93e-05/0.7945, allocations: 7.938 kB / 1.273 GB, free: 28 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.7945, allocations: 0 / 1.273 GB, free: 28 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.7945, allocations: 0 / 1.273 GB, free: 28 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.098e-05/0.7945, allocations: 3.938 kB / 1.273 GB, free: 24 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.7945, allocations: 0 / 1.273 GB, free: 24 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002007/0.7947, allocations: 187.4 kB / 1.274 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.581e-05/0.7948, allocations: 85.05 kB / 1.274 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.7948, allocations: 0 / 1.274 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.999e-05/0.7949, allocations: 11.92 kB / 1.274 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.969e-05/0.7949, allocations: 12.05 kB / 1.274 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.7949, allocations: 8 kB / 1.274 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.955e-05/0.795, allocations: 83.28 kB / 1.274 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.795, allocations: 192 / 1.274 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002434/0.7952, allocations: 19.89 kB / 1.274 GB, free: 15.59 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: 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.00055/0.7958, allocations: 0.7207 MB / 1.274 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001549/0.7959, allocations: 43.92 kB / 1.275 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7959, allocations: 0 / 1.275 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.784e-05/0.796, allocations: 27.92 kB / 1.275 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.7963, allocations: 20 kB / 1.275 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.7979, allocations: 1.366 MB / 1.276 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003921/0.7983, allocations: 0.7001 MB / 1.277 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.305e-05/0.7983, allocations: 4 kB / 1.277 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.725e-05/0.7984, allocations: 23.36 kB / 1.277 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of SimCode: time 5.91e-07/0.7984, allocations: 0 / 1.277 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02654/0.8249, allocations: 1.779 MB / 1.278 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.902/8.727, allocations: 4.641 kB / 1.278 GB, free: 10.85 MB / 0.9825 GB " [Timeout remaining time 291] (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 --stepSize=0.0004 --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: 14.601180705241859]