Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001871/0.001871, allocations: 110.4 kB / 18.94 MB, free: 2.957 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.002344/0.002344, allocations: 215.8 kB / 22.25 MB, free: 5.133 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.473/1.473, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.14/3.14, allocations: 0.49 GB / 0.7951 GB, free: 33.42 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_12_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.002643/0.002643, allocations: 68.94 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.343, allocations: 176.1 MB / 1.326 GB, free: 2.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002683/0.3456, allocations: 1.509 MB / 1.327 GB, free: 500 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0008243/0.3465, allocations: 486.8 kB / 1.328 GB, free: 8 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.296e-05/0.3465, allocations: 0 / 1.328 GB, free: 8 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.242e-05/0.3465, allocations: 3.938 kB / 1.328 GB, free: 4 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.966e-05/0.3466, allocations: 3.938 kB / 1.328 GB, free: 0 / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001386/0.3467, allocations: 27.95 kB / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.848e-05/0.3468, allocations: 55.84 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.113e-05/0.3469, allocations: 11.98 kB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.228e-05/0.347, allocations: 23.92 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.911e-05/0.347, allocations: 19.92 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.3471, allocations: 7.938 kB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.12e-05/0.3471, allocations: 4 kB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.104e-05/0.3471, allocations: 11.98 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.276e-05/0.3471, allocations: 23.86 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.3472, allocations: 44.09 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.3473, allocations: 4 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3473, allocations: 0 / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.3473, allocations: 0 / 1.328 GB, free: 15.77 MB / 1.029 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.0004647/0.3477, allocations: 286.2 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.3478, allocations: 8.031 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.271e-05/0.3478, allocations: 38.75 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.525e-05/0.3478, allocations: 8.828 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.3479, allocations: 106.5 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.348, allocations: 20.23 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.348, allocations: 8.375 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.3481, allocations: 53.81 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.3481, allocations: 0 / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.3481, allocations: 0 / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.3481, allocations: 4 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.357e-05/0.3482, allocations: 23.98 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004669/0.3486, allocations: 275.8 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.3487, allocations: 54.56 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.286e-05/0.3488, allocations: 24.95 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.3488, allocations: 0 / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001666/0.3489, allocations: 75.41 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.349, allocations: 0 / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0002258/0.3492, allocations: 105.6 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.3492, allocations: 55.41 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.902e-05/0.3493, allocations: 105.8 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.3493, allocations: 33.7 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.8e-05/0.3494, allocations: 84.09 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.3494, allocations: 19.84 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/0.3494, allocations: 29.7 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.3496, allocations: 323.2 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.65e-05/0.3496, allocations: 19.98 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.912e-05/0.3497, allocations: 51.36 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.896e-05/0.3498, allocations: 63.42 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3498, allocations: 3.938 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000149/0.3499, allocations: 97.52 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.3499, allocations: 8.031 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3499, allocations: 0 / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.3499, allocations: 4 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.673e-05/0.35, allocations: 15.92 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.35, allocations: 0 / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.432e-05/0.3501, allocations: 11.95 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-06/0.3501, allocations: 7.938 kB / 1.33 GB, free: 13.57 MB / 1.029 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 9.838e-05/0.3502, allocations: 122.3 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.255e-05/0.3502, allocations: 4 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.978e-05/0.3502, allocations: 12.06 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.3502, allocations: 0 / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.3502, allocations: 4 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3502, allocations: 0 / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000395/0.3506, allocations: 337.4 kB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3506, allocations: 0 / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.875e-05/0.3507, allocations: 7.984 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.3507, allocations: 0 / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.3507, allocations: 4 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.3507, allocations: 11.94 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3507, allocations: 0 / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.3508, allocations: 175.5 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.259e-05/0.3509, allocations: 8.234 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.3509, allocations: 4.062 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.077e-05/0.351, allocations: 11.92 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/0.351, allocations: 11.92 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-06/0.351, allocations: 15.98 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.762e-05/0.3511, allocations: 79.47 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3511, allocations: 0 / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002227/0.3513, allocations: 19.94 kB / 1.331 GB, free: 12.67 MB / 1.029 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.0004599/0.3517, allocations: 0.7104 MB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001304/0.3519, allocations: 55.91 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3519, allocations: 0 / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.623e-05/0.3519, allocations: 23.94 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.3522, allocations: 21.02 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.3535, allocations: 1.371 MB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.3538, allocations: 0.6846 MB / 1.334 GB, free: 9.66 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.393e-05/0.3539, allocations: 4 kB / 1.334 GB, free: 9.656 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.43e-05/0.3539, allocations: 15.44 kB / 1.334 GB, free: 9.641 MB / 1.029 GB Notification: Performance of SimCode: time 2.8e-07/0.3539, allocations: 0 / 1.334 GB, free: 9.641 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4075/0.7614, allocations: 1.92 MB / 1.335 GB, free: 7.867 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.08/13.84, allocations: 4.5 kB / 1.335 GB, free: 7.863 MB / 1.029 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_Continuous_Examples_OffTimer.fmu > Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 20.63682427513413]