Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001754/0.001754, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 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.002179/0.002179, allocations: 215.2 kB / 22.25 MB, free: 5.082 MB / 14.72 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 1.376/1.376, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.12/3.12, allocations: 0.505 GB / 0.8101 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 71.11 kB / 1.177 GB, free: 17.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3421, allocations: 180.2 MB / 1.353 GB, free: 8.504 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002605/0.3447, allocations: 1.502 MB / 1.354 GB, free: 6.992 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0007772/0.3455, allocations: 486.8 kB / 1.355 GB, free: 6.512 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.068e-05/0.3456, allocations: 0 / 1.355 GB, free: 6.512 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.91e-05/0.3456, allocations: 7.922 kB / 1.355 GB, free: 6.504 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.186e-05/0.3457, allocations: 3.938 kB / 1.355 GB, free: 6.5 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001438/0.3458, allocations: 27.91 kB / 1.355 GB, free: 6.473 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.932e-05/0.3459, allocations: 51.84 kB / 1.355 GB, free: 6.422 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.789e-05/0.346, allocations: 8 kB / 1.355 GB, free: 6.414 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.184e-05/0.346, allocations: 23.98 kB / 1.355 GB, free: 6.391 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.602e-05/0.3461, allocations: 23.84 kB / 1.355 GB, free: 6.367 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.3461, allocations: 15.92 kB / 1.355 GB, free: 6.352 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.117e-05/0.3461, allocations: 4 kB / 1.355 GB, free: 6.348 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.873e-05/0.3462, allocations: 8 kB / 1.355 GB, free: 6.34 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.549e-05/0.3462, allocations: 23.86 kB / 1.355 GB, free: 6.316 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 9.796e-05/0.3463, allocations: 40.11 kB / 1.355 GB, free: 6.277 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3463, allocations: 4 kB / 1.355 GB, free: 6.273 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3463, allocations: 0 / 1.355 GB, free: 6.273 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.3463, allocations: 0 / 1.355 GB, free: 6.273 MB / 1.045 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.000482/0.3468, allocations: 290.2 kB / 1.355 GB, free: 5.961 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.3468, allocations: 12.03 kB / 1.355 GB, free: 5.949 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.164e-05/0.3469, allocations: 38.73 kB / 1.355 GB, free: 5.902 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.345e-05/0.3469, allocations: 0.9375 kB / 1.355 GB, free: 5.902 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.347, allocations: 114.5 kB / 1.355 GB, free: 5.766 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.347, allocations: 8.312 kB / 1.355 GB, free: 5.758 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.347, allocations: 4.375 kB / 1.355 GB, free: 5.754 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.3472, allocations: 69.72 kB / 1.356 GB, free: 5.68 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.3472, allocations: 0 / 1.356 GB, free: 5.68 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.3472, allocations: 4 kB / 1.356 GB, free: 5.676 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.3472, allocations: 4 kB / 1.356 GB, free: 5.672 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.855e-05/0.3472, allocations: 27.92 kB / 1.356 GB, free: 5.645 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004762/0.3477, allocations: 271.8 kB / 1.356 GB, free: 5.336 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.3478, allocations: 46.56 kB / 1.356 GB, free: 5.281 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.788e-05/0.3479, allocations: 28.94 kB / 1.356 GB, free: 5.25 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 6.892e-06/0.3479, allocations: 0 / 1.356 GB, free: 5.25 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001591/0.348, allocations: 79.38 kB / 1.356 GB, free: 5.16 MB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.348, allocations: 0 / 1.356 GB, free: 5.16 MB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.0002207/0.3483, allocations: 97.61 kB / 1.356 GB, free: 5.059 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.3483, allocations: 55.41 kB / 1.356 GB, free: 4.992 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.099e-05/0.3484, allocations: 101.8 kB / 1.356 GB, free: 4.883 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.3484, allocations: 33.7 kB / 1.356 GB, free: 4.844 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.411e-05/0.3485, allocations: 92.08 kB / 1.356 GB, free: 4.75 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.3485, allocations: 27.78 kB / 1.356 GB, free: 4.723 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.44e-05/0.3485, allocations: 29.7 kB / 1.356 GB, free: 4.688 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.3487, allocations: 322.8 kB / 1.357 GB, free: 4.363 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.614e-05/0.3487, allocations: 15.98 kB / 1.357 GB, free: 4.348 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.034e-05/0.3488, allocations: 47.36 kB / 1.357 GB, free: 4.289 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.959e-05/0.3489, allocations: 63.44 kB / 1.357 GB, free: 4.215 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.3489, allocations: 0 / 1.357 GB, free: 4.215 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001451/0.349, allocations: 97.55 kB / 1.357 GB, free: 4.113 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.349, allocations: 4 kB / 1.357 GB, free: 4.109 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.349, allocations: 0 / 1.357 GB, free: 4.109 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.349, allocations: 4 kB / 1.357 GB, free: 4.105 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.402e-05/0.3491, allocations: 12.38 kB / 1.357 GB, free: 4.094 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.3491, allocations: 3.984 kB / 1.357 GB, free: 4.09 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.407e-05/0.3492, allocations: 7.984 kB / 1.357 GB, free: 4.082 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.3492, allocations: 11.94 kB / 1.357 GB, free: 4.07 MB / 1.045 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 8.68e-05/0.3493, allocations: 125.9 kB / 1.357 GB, free: 3.938 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.312e-05/0.3493, allocations: 7.984 kB / 1.357 GB, free: 3.93 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.012e-05/0.3493, allocations: 15.98 kB / 1.357 GB, free: 3.914 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.3493, allocations: 4 kB / 1.357 GB, free: 3.91 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.3493, allocations: 0 / 1.357 GB, free: 3.91 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.3493, allocations: 64 / 1.357 GB, free: 3.91 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003879/0.3497, allocations: 341.4 kB / 1.357 GB, free: 3.527 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3497, allocations: 0 / 1.357 GB, free: 3.527 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.9e-05/0.3497, allocations: 4 kB / 1.357 GB, free: 3.523 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3497, allocations: 0 / 1.357 GB, free: 3.523 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.3498, allocations: 0 / 1.357 GB, free: 3.523 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.3498, allocations: 7.938 kB / 1.357 GB, free: 3.516 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.3498, allocations: 0 / 1.357 GB, free: 3.516 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.3499, allocations: 187.4 kB / 1.358 GB, free: 3.316 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.015e-06/0.3499, allocations: 4 kB / 1.358 GB, free: 3.312 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.3499, allocations: 4 kB / 1.358 GB, free: 3.309 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.565e-05/0.35, allocations: 7.922 kB / 1.358 GB, free: 3.301 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.747e-05/0.3501, allocations: 15.92 kB / 1.358 GB, free: 3.285 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.3501, allocations: 4 kB / 1.358 GB, free: 3.281 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.453e-05/0.3501, allocations: 83.27 kB / 1.358 GB, free: 3.199 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3501, allocations: 0 / 1.358 GB, free: 3.199 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002321/0.3504, allocations: 16 kB / 1.358 GB, free: 3.184 MB / 1.045 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.0004406/0.3508, allocations: 0.7146 MB / 1.358 GB, free: 2.445 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001221/0.3509, allocations: 51.92 kB / 1.358 GB, free: 2.395 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.3509, allocations: 0 / 1.358 GB, free: 2.395 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.457e-05/0.351, allocations: 27.92 kB / 1.358 GB, free: 2.367 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.3512, allocations: 11.94 kB / 1.359 GB, free: 2.355 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.3525, allocations: 1.377 MB / 1.36 GB, free: 0.8828 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.3528, allocations: 0.6807 MB / 1.361 GB, free: 180 kB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.763e-05/0.3528, allocations: 7.984 kB / 1.361 GB, free: 172 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.214e-05/0.3529, allocations: 19.44 kB / 1.361 GB, free: 152 kB / 1.045 GB Notification: Performance of SimCode: time 2.9e-07/0.3529, allocations: 0 / 1.361 GB, free: 152 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03998/0.3929, allocations: 1.929 MB / 1.362 GB, free: 14.35 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.19, allocations: 1.203 kB / 1.362 GB, free: 14.35 MB / 1.061 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_Continuous_Examples_OffTimer.fmu > Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.069667051080614]