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.001901/0.001901, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002185/0.002185, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.458/1.458, allocations: 230.6 MB / 256 MB, free: 7.785 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.072/3.072, allocations: 0.4893 GB / 0.7943 GB, free: 35.59 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.002039/0.002039, allocations: 66.75 kB / 1.153 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3258, allocations: 176.1 MB / 1.325 GB, free: 2.371 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002857/0.3287, allocations: 1.491 MB / 1.326 GB, free: 0.875 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0008498/0.3295, allocations: 450.9 kB / 1.327 GB, free: 440 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.525e-05/0.3296, allocations: 0 / 1.327 GB, free: 440 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.103e-05/0.3296, allocations: 3.938 kB / 1.327 GB, free: 436 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.346e-05/0.3297, allocations: 3.938 kB / 1.327 GB, free: 432 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001499/0.3298, allocations: 23.91 kB / 1.327 GB, free: 408 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.511e-05/0.3299, allocations: 47.92 kB / 1.327 GB, free: 360 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.33, allocations: 19.91 kB / 1.327 GB, free: 340 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.145e-05/0.3301, allocations: 19.98 kB / 1.327 GB, free: 320 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.843e-05/0.3302, allocations: 23.86 kB / 1.327 GB, free: 296 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.3302, allocations: 4 kB / 1.327 GB, free: 292 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.352e-05/0.3302, allocations: 11.88 kB / 1.327 GB, free: 280 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.33e-05/0.3302, allocations: 11.98 kB / 1.327 GB, free: 268 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.621e-05/0.3303, allocations: 15.94 kB / 1.327 GB, free: 252 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.3304, allocations: 52.02 kB / 1.327 GB, free: 200 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3304, allocations: 0 / 1.327 GB, free: 200 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.804e-06/0.3304, allocations: 0 / 1.327 GB, free: 200 kB / 1.014 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.3304, allocations: 0 / 1.327 GB, free: 200 kB / 1.014 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.0004909/0.3309, allocations: 290.1 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.3309, allocations: 12.03 kB / 1.327 GB, free: 15.87 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.932e-05/0.3309, allocations: 38.75 kB / 1.327 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.577e-05/0.331, allocations: 4.891 kB / 1.327 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.3311, allocations: 106.5 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.3311, allocations: 12.36 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.3311, allocations: 8.312 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.3312, allocations: 53.81 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.3312, allocations: 0 / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.3312, allocations: 4 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.3312, allocations: 0 / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.573e-05/0.3313, allocations: 27.97 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004563/0.3318, allocations: 267.8 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.3319, allocations: 54.61 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.234e-05/0.3319, allocations: 20.88 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.3319, allocations: 0 / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001634/0.3321, allocations: 79.41 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.3321, allocations: 0 / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.000233/0.3323, allocations: 105.8 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.3324, allocations: 55.41 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.698e-05/0.3325, allocations: 109.8 kB / 1.328 GB, free: 14.81 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.3325, allocations: 29.7 kB / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.264e-05/0.3325, allocations: 88.09 kB / 1.328 GB, free: 14.68 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.314e-05/0.3326, allocations: 27.78 kB / 1.328 GB, free: 14.66 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/0.3326, allocations: 29.66 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.3328, allocations: 322.8 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.517e-05/0.3328, allocations: 12 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.171e-05/0.3329, allocations: 47.42 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.852e-05/0.333, allocations: 67.36 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.333, allocations: 0 / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000149/0.3331, allocations: 105.5 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.3331, allocations: 8 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3331, allocations: 0 / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.3331, allocations: 0 / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.731e-05/0.3332, allocations: 8 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.3332, allocations: 4 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.691e-05/0.3333, allocations: 11.94 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.3333, allocations: 7.938 kB / 1.329 GB, free: 14 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.981e-05/0.3334, allocations: 125.4 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.162e-05/0.3334, allocations: 8.031 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.073e-05/0.3334, allocations: 8.062 kB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.3334, allocations: 3.984 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.3334, allocations: 288 / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.3334, allocations: 0 / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004097/0.3338, allocations: 337.4 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3338, allocations: 0 / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.738e-05/0.3339, allocations: 7.984 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.3339, allocations: 0 / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.3339, allocations: 0 / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.3339, allocations: 7.938 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.3339, allocations: 4 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.3341, allocations: 183.6 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.585e-05/0.3341, allocations: 7.953 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.3341, allocations: 0 / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.612e-05/0.3342, allocations: 19.86 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.908e-05/0.3342, allocations: 7.984 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.3342, allocations: 3.938 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.693e-05/0.3343, allocations: 83.28 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3343, allocations: 0 / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002267/0.3345, allocations: 16 kB / 1.33 GB, free: 13.11 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.0004555/0.3349, allocations: 0.7163 MB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001284/0.3351, allocations: 47.92 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.3351, allocations: 0 / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.931e-05/0.3351, allocations: 31.92 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.3354, allocations: 13.81 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.3368, allocations: 1.366 MB / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.241e-05/0.3368, allocations: 75.39 kB / 1.332 GB, free: 10.73 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.659e-05/0.3368, allocations: 4 kB / 1.332 GB, free: 10.72 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.917e-05/0.3369, allocations: 23.42 kB / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.3369, allocations: 3.938 kB / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02625/0.3631, allocations: 2.335 MB / 1.334 GB, free: 8.504 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/10.98, allocations: 3.625 kB / 1.334 GB, free: 8.504 MB / 1.029 GB " [Timeout remaining time 289] (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: 17.585110613144934]