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.001256/0.001256, allocations: 105.5 kB / 16.45 MB, free: 6.445 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.001303/0.001303, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.403/1.403, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.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.51/2.51, allocations: 443.5 MB / 0.7287 GB, free: 14.48 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.002826/0.002826, allocations: 67.89 kB / 1.056 GB, free: 2.504 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3373, allocations: 160.7 MB / 1.213 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002779/0.34, allocations: 1.471 MB / 1.214 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0007218/0.3408, allocations: 451.6 kB / 1.215 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.807e-05/0.3408, allocations: 4 kB / 1.215 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.911e-05/0.3408, allocations: 3.938 kB / 1.215 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.355e-05/0.3409, allocations: 7.922 kB / 1.215 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000141/0.341, allocations: 27.91 kB / 1.215 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.917e-05/0.3411, allocations: 51.84 kB / 1.215 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.3412, allocations: 8 kB / 1.215 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.432e-05/0.3413, allocations: 19.92 kB / 1.215 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.349e-05/0.3413, allocations: 27.84 kB / 1.215 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.3414, allocations: 11.98 kB / 1.215 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.09e-05/0.3414, allocations: 8 kB / 1.215 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.087e-05/0.3414, allocations: 4 kB / 1.215 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.561e-05/0.3414, allocations: 31.8 kB / 1.215 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.3416, allocations: 36.11 kB / 1.215 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3416, allocations: 4 kB / 1.215 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3416, allocations: 0 / 1.215 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.3416, allocations: 3.938 kB / 1.215 GB, free: 15.29 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.0005337/0.3421, allocations: 359.3 kB / 1.215 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.3421, allocations: 12.03 kB / 1.215 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.556e-05/0.3422, allocations: 42.73 kB / 1.215 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.59e-05/0.3422, allocations: 4.938 kB / 1.215 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.3424, allocations: 176.2 kB / 1.216 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.3424, allocations: 8.312 kB / 1.216 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.3424, allocations: 8.375 kB / 1.216 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.3425, allocations: 57.8 kB / 1.216 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.3425, allocations: 0 / 1.216 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.3425, allocations: 4 kB / 1.216 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3425, allocations: 0 / 1.216 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.297e-05/0.3426, allocations: 23.98 kB / 1.216 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004863/0.3431, allocations: 304.7 kB / 1.216 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.3432, allocations: 50.56 kB / 1.216 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.146e-05/0.3432, allocations: 16.95 kB / 1.216 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.04e-05/0.3433, allocations: 0 / 1.216 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001788/0.3434, allocations: 87.36 kB / 1.216 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.3434, allocations: 0 / 1.216 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0002269/0.3437, allocations: 97.89 kB / 1.216 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/0.3437, allocations: 51.41 kB / 1.216 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.681e-05/0.3438, allocations: 113.9 kB / 1.216 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.3438, allocations: 29.64 kB / 1.216 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.03e-05/0.3439, allocations: 88.14 kB / 1.216 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.836e-05/0.3439, allocations: 27.78 kB / 1.216 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.768e-05/0.344, allocations: 33.7 kB / 1.217 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.3441, allocations: 314.8 kB / 1.217 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.162e-05/0.3441, allocations: 15.98 kB / 1.217 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.523e-05/0.3442, allocations: 55.3 kB / 1.217 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.178e-05/0.3443, allocations: 67.42 kB / 1.217 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.3443, allocations: 0 / 1.217 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001511/0.3444, allocations: 97.52 kB / 1.217 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.3445, allocations: 4 kB / 1.217 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.3445, allocations: 4.281 kB / 1.217 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.3445, allocations: 64 / 1.217 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.579e-05/0.3446, allocations: 15.98 kB / 1.217 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.3446, allocations: 0 / 1.217 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.246e-05/0.3446, allocations: 8 kB / 1.217 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.3446, allocations: 3.969 kB / 1.217 GB, free: 12.89 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.0001049/0.3447, allocations: 137.8 kB / 1.217 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.372e-05/0.3448, allocations: 3.953 kB / 1.217 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.987e-05/0.3448, allocations: 7.969 kB / 1.217 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3448, allocations: 4 kB / 1.217 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3448, allocations: 0 / 1.217 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3448, allocations: 0 / 1.217 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004203/0.3452, allocations: 354.4 kB / 1.218 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3452, allocations: 4 kB / 1.218 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.698e-05/0.3453, allocations: 7.984 kB / 1.218 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3453, allocations: 0 / 1.218 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.3453, allocations: 4 kB / 1.218 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.3453, allocations: 3.938 kB / 1.218 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3453, allocations: 0 / 1.218 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001779/0.3454, allocations: 187.5 kB / 1.218 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.647e-05/0.3455, allocations: 77.11 kB / 1.218 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.3455, allocations: 8 kB / 1.218 GB, free: 12 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.217e-05/0.3456, allocations: 11.92 kB / 1.218 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.602e-05/0.3456, allocations: 11.94 kB / 1.218 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.3456, allocations: 3.984 kB / 1.218 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.841e-05/0.3457, allocations: 83.28 kB / 1.218 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3457, allocations: 0 / 1.218 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002298/0.3459, allocations: 12 kB / 1.218 GB, free: 11.88 MB / 0.9669 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.0005039/0.3464, allocations: 0.7189 MB / 1.219 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001338/0.3466, allocations: 47.92 kB / 1.219 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3466, allocations: 0 / 1.219 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.525e-05/0.3466, allocations: 31.86 kB / 1.219 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.3469, allocations: 15.92 kB / 1.219 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.3483, allocations: 1.379 MB / 1.22 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.3486, allocations: 0.6873 MB / 1.221 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.135e-05/0.3487, allocations: 7.984 kB / 1.221 GB, free: 8.852 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.576e-05/0.3487, allocations: 23.38 kB / 1.221 GB, free: 8.828 MB / 0.9669 GB Notification: Performance of SimCode: time 3.71e-07/0.3487, allocations: 0 / 1.221 GB, free: 8.828 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02381/0.3725, allocations: 1.766 MB / 1.223 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.698/8.07, allocations: 10.58 kB / 1.223 GB, free: 7.137 MB / 0.9669 GB " [Timeout remaining time 292] (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.752416600938886]