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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008661/0.0008661, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009781/0.0009781, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9376/0.9376, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.696/1.696, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.823e-06/1.823e-06, allocations: 0 / 0.9504 GB, free: 3.562 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.097e-05/2.279e-05, allocations: 9.094 kB / 0.9504 GB, free: 3.555 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002011/0.002033, allocations: 1.486 MB / 0.9519 GB, free: 2.051 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.000713/0.002746, allocations: 463.4 kB / 0.9523 GB, free: 1.594 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.415e-05/0.002781, allocations: 0 / 0.9523 GB, free: 1.594 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.748e-05/0.002808, allocations: 3.938 kB / 0.9523 GB, free: 1.59 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.286e-05/0.002881, allocations: 7.938 kB / 0.9524 GB, free: 1.582 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001446/0.003025, allocations: 27.89 kB / 0.9524 GB, free: 1.555 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.874e-05/0.003104, allocations: 51.8 kB / 0.9524 GB, free: 1.504 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.003208, allocations: 15.92 kB / 0.9524 GB, free: 1.488 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.087e-05/0.003269, allocations: 23.97 kB / 0.9525 GB, free: 1.465 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.069e-05/0.003329, allocations: 23.91 kB / 0.9525 GB, free: 1.441 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.349e-05/0.003353, allocations: 8 kB / 0.9525 GB, free: 1.434 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 8.656e-06/0.003361, allocations: 4 kB / 0.9525 GB, free: 1.43 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.003e-05/0.003381, allocations: 7.984 kB / 0.9525 GB, free: 1.422 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.723e-05/0.003419, allocations: 19.92 kB / 0.9525 GB, free: 1.402 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001036/0.003522, allocations: 43.86 kB / 0.9526 GB, free: 1.359 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.003525, allocations: 0 / 0.9526 GB, free: 1.359 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.533e-06/0.003526, allocations: 0 / 0.9526 GB, free: 1.359 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.003531, allocations: 0 / 0.9526 GB, free: 1.359 MB / 0.9011 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.0004052/0.003936, allocations: 294.2 kB / 0.9528 GB, free: 1.043 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.003976, allocations: 8.031 kB / 0.9529 GB, free: 1.035 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.97e-05/0.004006, allocations: 38.75 kB / 0.9529 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.523e-05/0.004031, allocations: 4.875 kB / 0.9529 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.942e-05/0.00412, allocations: 125.6 kB / 0.953 GB, free: 0.8359 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.004131, allocations: 4.375 kB / 0.953 GB, free: 0.832 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.898e-06/0.004141, allocations: 4.375 kB / 0.953 GB, free: 0.8281 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.47e-05/0.004235, allocations: 58.23 kB / 0.9531 GB, free: 0.7656 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.004242, allocations: 192 / 0.9531 GB, free: 0.7656 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.004254, allocations: 12.12 kB / 0.9531 GB, free: 0.7539 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.004259, allocations: 0 / 0.9531 GB, free: 0.7539 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.97e-05/0.004308, allocations: 23.92 kB / 0.9531 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003679/0.004676, allocations: 259.9 kB / 0.9534 GB, free: 444 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 9.456e-05/0.004771, allocations: 50.61 kB / 0.9534 GB, free: 384 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.19e-05/0.004803, allocations: 24.94 kB / 0.9534 GB, free: 356 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 9.067e-06/0.004812, allocations: 0 / 0.9534 GB, free: 356 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001618/0.004973, allocations: 79.33 kB / 0.9535 GB, free: 264 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.004975, allocations: 0 / 0.9535 GB, free: 264 kB / 0.9011 GB Notification: Performance of matching and sorting (n=9): time 0.0002042/0.005179, allocations: 97.62 kB / 0.9536 GB, free: 160 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.005217, allocations: 59.39 kB / 0.9537 GB, free: 88 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.21e-05/0.005289, allocations: 109.8 kB / 0.9538 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.005304, allocations: 33.7 kB / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.833e-05/0.005342, allocations: 84.5 kB / 0.9539 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.005367, allocations: 23.84 kB / 0.9539 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/0.005404, allocations: 29.7 kB / 0.9539 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.144e-05/0.005485, allocations: 318.8 kB / 0.9542 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.908e-05/0.005514, allocations: 23.92 kB / 0.9543 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.249e-05/0.005557, allocations: 51.36 kB / 0.9543 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.536e-05/0.005622, allocations: 67.38 kB / 0.9544 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.005624, allocations: 0 / 0.9544 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.764e-05/0.005722, allocations: 97.56 kB / 0.9545 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.005735, allocations: 7.938 kB / 0.9545 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.005741, allocations: 4 kB / 0.9545 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.005753, allocations: 0 / 0.9545 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.224e-05/0.005815, allocations: 11.98 kB / 0.9545 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.005824, allocations: 7.938 kB / 0.9545 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.008e-05/0.005864, allocations: 7.938 kB / 0.9545 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.005871, allocations: 8 kB / 0.9545 GB, free: 15.15 MB / 0.9167 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 6.695e-05/0.005938, allocations: 117.8 kB / 0.9546 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.476e-06/0.005947, allocations: 11.97 kB / 0.9546 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.385e-05/0.005971, allocations: 12.12 kB / 0.9546 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.005973, allocations: 0 / 0.9546 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.005977, allocations: 0 / 0.9546 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.005981, allocations: 0 / 0.9546 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002744/0.006255, allocations: 321.5 kB / 0.955 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.006256, allocations: 0 / 0.955 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.898e-05/0.006275, allocations: 4 kB / 0.955 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.006277, allocations: 0 / 0.955 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.006284, allocations: 3.938 kB / 0.955 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.006285, allocations: 0 / 0.955 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.006286, allocations: 4 kB / 0.955 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.006395, allocations: 187.4 kB / 0.9551 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.603e-06/0.006402, allocations: 3.938 kB / 0.9551 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.006414, allocations: 8.266 kB / 0.9552 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.755e-05/0.006461, allocations: 8.188 kB / 0.9552 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.0065, allocations: 3.984 kB / 0.9552 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.034e-06/0.006507, allocations: 11.88 kB / 0.9552 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.256e-05/0.00654, allocations: 91.25 kB / 0.9553 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.00654, allocations: 0 / 0.9553 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001587/0.006698, allocations: 15.94 kB / 0.9553 GB, free: 14.29 MB / 0.9167 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.0003061/0.007004, allocations: 0.7163 MB / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001127/0.007117, allocations: 47.92 kB / 0.956 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.007118, allocations: 0 / 0.956 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.003e-05/0.007158, allocations: 27.92 kB / 0.956 GB, free: 13.47 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.00738, allocations: 16.84 kB / 0.9561 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009216/0.008302, allocations: 1.386 MB / 0.9574 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.557e-05/0.008347, allocations: 71.41 kB / 0.9575 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.624e-05/0.008374, allocations: 11.92 kB / 0.9575 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.206e-05/0.008416, allocations: 16.5 kB / 0.9575 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of SimCode: time 4.7e-07/0.008416, allocations: 0 / 0.9575 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01756/0.02598, allocations: 2.459 MB / 0.9599 GB, free: 9.539 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.509/6.535, allocations: 10.92 kB / 0.9599 GB, free: 9.535 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.592458358965814]