Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001273/0.001273, allocations: 108.5 kB / 16.41 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.00127/0.00127, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.375/1.375, allocations: 222.9 MB / 245.1 MB, free: 15.02 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.526/2.526, allocations: 437.1 MB / 0.7171 GB, free: 4.098 MB / 0.5762 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.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_10_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_10_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002132/0.002132, allocations: 67.88 kB / 1.027 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.773/0.7752, allocations: 151.6 MB / 1.175 GB, free: 17.49 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002377/0.7776, allocations: 1.474 MB / 1.176 GB, free: 16.46 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0006579/0.7783, allocations: 450.9 kB / 1.177 GB, free: 16.15 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.377e-05/0.7784, allocations: 0 / 1.177 GB, free: 16.15 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.829e-05/0.7784, allocations: 4.641 kB / 1.177 GB, free: 16.14 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.683e-05/0.7785, allocations: 6.531 kB / 1.177 GB, free: 16.14 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001519/0.7786, allocations: 18.03 kB / 1.177 GB, free: 16.13 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.053e-05/0.7787, allocations: 50.31 kB / 1.177 GB, free: 16.11 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.7788, allocations: 21.08 kB / 1.177 GB, free: 16.1 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.25e-05/0.7789, allocations: 18.09 kB / 1.177 GB, free: 16.09 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.503e-05/0.779, allocations: 22.81 kB / 1.177 GB, free: 16.08 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.885e-05/0.779, allocations: 4.25 kB / 1.177 GB, free: 16.08 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.377e-05/0.779, allocations: 5.125 kB / 1.177 GB, free: 16.08 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.345e-05/0.779, allocations: 12.62 kB / 1.177 GB, free: 16.07 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.387e-05/0.7791, allocations: 25.56 kB / 1.177 GB, free: 16.05 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.7792, allocations: 54.05 kB / 1.177 GB, free: 16.03 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.7792, allocations: 0.6562 kB / 1.177 GB, free: 16.03 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.263e-06/0.7792, allocations: 0 / 1.177 GB, free: 16.03 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.7792, allocations: 4 kB / 1.177 GB, free: 16.02 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004483/0.7797, allocations: 361.9 kB / 1.177 GB, free: 15.66 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.7797, allocations: 10.06 kB / 1.177 GB, free: 15.66 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.957e-05/0.7798, allocations: 37.97 kB / 1.177 GB, free: 15.61 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.663e-05/0.7798, allocations: 4.562 kB / 1.177 GB, free: 15.61 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.1e-05/0.7799, allocations: 172.2 kB / 1.177 GB, free: 15.41 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.7799, allocations: 6.75 kB / 1.177 GB, free: 15.41 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.7799, allocations: 5.656 kB / 1.177 GB, free: 15.41 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.7801, allocations: 64.77 kB / 1.177 GB, free: 15.36 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.904e-06/0.7801, allocations: 1.312 kB / 1.177 GB, free: 15.36 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.7801, allocations: 0 / 1.177 GB, free: 15.36 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.7801, allocations: 1.25 kB / 1.177 GB, free: 15.36 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.27e-05/0.7802, allocations: 27.47 kB / 1.177 GB, free: 15.35 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000415/0.7806, allocations: 295.2 kB / 1.178 GB, free: 15.06 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.7807, allocations: 55.98 kB / 1.178 GB, free: 15.02 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.322e-05/0.7808, allocations: 27.89 kB / 1.178 GB, free: 15.01 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.7808, allocations: 5.031 kB / 1.178 GB, free: 15 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001639/0.7809, allocations: 78.28 kB / 1.178 GB, free: 14.94 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.7809, allocations: 0 / 1.178 GB, free: 14.94 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.0002154/0.7812, allocations: 97.08 kB / 1.178 GB, free: 14.89 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.7812, allocations: 61.58 kB / 1.178 GB, free: 14.82 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.977e-05/0.7813, allocations: 115.8 kB / 1.178 GB, free: 14.71 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.7813, allocations: 30.92 kB / 1.178 GB, free: 14.67 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 2.946e-05/0.7813, allocations: 82.92 kB / 1.178 GB, free: 14.59 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.7813, allocations: 21.92 kB / 1.178 GB, free: 14.57 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.7814, allocations: 27.25 kB / 1.178 GB, free: 14.55 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 4.748e-05/0.7814, allocations: 323.7 kB / 1.179 GB, free: 14.23 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.591e-05/0.7815, allocations: 16.05 kB / 1.179 GB, free: 14.23 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.693e-05/0.7815, allocations: 48.05 kB / 1.179 GB, free: 14.18 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.667e-05/0.7816, allocations: 64.69 kB / 1.179 GB, free: 14.13 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.7816, allocations: 4.516 kB / 1.179 GB, free: 14.13 MB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001275/0.7818, allocations: 97.88 kB / 1.179 GB, free: 14.07 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.7818, allocations: 5.734 kB / 1.179 GB, free: 14.07 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.7818, allocations: 1.469 kB / 1.179 GB, free: 14.07 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.7818, allocations: 5.375 kB / 1.179 GB, free: 14.07 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.002e-05/0.7819, allocations: 10.41 kB / 1.179 GB, free: 14.07 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.7819, allocations: 4.641 kB / 1.179 GB, free: 14.06 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.321e-05/0.782, allocations: 14.78 kB / 1.179 GB, free: 14.05 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.782, allocations: 7.812 kB / 1.179 GB, free: 14.05 MB / 0.92 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.566e-05/0.782, allocations: 120.4 kB / 1.179 GB, free: 13.93 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.147e-05/0.7821, allocations: 2.859 kB / 1.179 GB, free: 13.93 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.445e-05/0.7821, allocations: 9.766 kB / 1.179 GB, free: 13.92 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.7821, allocations: 5.375 kB / 1.179 GB, free: 13.91 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.7821, allocations: 0 / 1.179 GB, free: 13.91 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.7821, allocations: 2 kB / 1.179 GB, free: 13.91 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003154/0.7824, allocations: 363.8 kB / 1.179 GB, free: 13.58 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.7824, allocations: 0.6094 kB / 1.179 GB, free: 13.58 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.526e-05/0.7825, allocations: 8.516 kB / 1.179 GB, free: 13.57 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.7825, allocations: 1.562 kB / 1.179 GB, free: 13.57 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.7825, allocations: 4.641 kB / 1.179 GB, free: 13.57 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.7825, allocations: 5.406 kB / 1.179 GB, free: 13.57 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.7825, allocations: 4.656 kB / 1.179 GB, free: 13.56 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/0.7826, allocations: 183 kB / 1.18 GB, free: 13.41 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 1.862e-05/0.7827, allocations: 79.14 kB / 1.18 GB, free: 13.32 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.7827, allocations: 2.109 kB / 1.18 GB, free: 13.32 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.619e-05/0.7828, allocations: 9.219 kB / 1.18 GB, free: 13.31 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.605e-05/0.7828, allocations: 10.41 kB / 1.18 GB, free: 13.31 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.7828, allocations: 3.094 kB / 1.18 GB, free: 13.31 MB / 0.92 GB Notification: Performance of sorting global known variables: time 2.474e-05/0.7829, allocations: 88.28 kB / 1.18 GB, free: 13.23 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7829, allocations: 1.219 kB / 1.18 GB, free: 13.23 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002678/0.7831, allocations: 18.83 kB / 1.18 GB, free: 13.22 MB / 0.92 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.0002844/0.7834, allocations: 0.7144 MB / 1.18 GB, free: 12.54 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001289/0.7836, allocations: 55.05 kB / 1.18 GB, free: 12.52 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.7836, allocations: 4.344 kB / 1.18 GB, free: 12.52 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 5.057e-05/0.7836, allocations: 26.61 kB / 1.181 GB, free: 12.51 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.7839, allocations: 20.48 kB / 1.181 GB, free: 12.5 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.785, allocations: 1.378 MB / 1.182 GB, free: 11.21 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.7851, allocations: 0.6853 MB / 1.183 GB, free: 10.52 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.906e-05/0.7851, allocations: 5.641 kB / 1.183 GB, free: 10.52 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.498e-05/0.7852, allocations: 17.47 kB / 1.183 GB, free: 10.5 MB / 0.92 GB Notification: Performance of SimCode: time 2.41e-07/0.7852, allocations: 0 / 1.183 GB, free: 10.5 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02178/0.807, allocations: 1.749 MB / 1.184 GB, free: 10.1 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.654/8.461, allocations: 7.969 kB / 1.184 GB, free: 10.1 MB / 0.92 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_Continuous_Examples_OffTimer.fmu > Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 13.97770763700828]