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.00179/0.00179, allocations: 103.6 kB / 18.95 MB, free: 2.656 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.002067/0.002067, allocations: 216.5 kB / 22.24 MB, free: 5.266 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.465/1.465, allocations: 230.6 MB / 256 MB, free: 7.789 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.16/3.16, allocations: 0.49 GB / 0.7951 GB, free: 35.32 MB / 0.6231 GB " [Timeout remaining time 176] 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.002026/0.002026, allocations: 62.38 kB / 1.154 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3497, allocations: 176.1 MB / 1.326 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002643/0.3523, allocations: 1.482 MB / 1.327 GB, free: 20 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0008329/0.3532, allocations: 450.8 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.503e-05/0.3532, allocations: 4 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.607e-05/0.3532, allocations: 7.922 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.149e-05/0.3533, allocations: 7.922 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001401/0.3535, allocations: 19.92 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.741e-05/0.3536, allocations: 59.84 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.3537, allocations: 11.98 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.52e-05/0.3537, allocations: 23.88 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.566e-05/0.3538, allocations: 23.89 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.3538, allocations: 8 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.088e-05/0.3538, allocations: 4 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.428e-05/0.3538, allocations: 11.98 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.535e-05/0.3539, allocations: 19.88 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.354, allocations: 44.09 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.354, allocations: 3.984 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.303e-06/0.354, allocations: 0 / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.354, allocations: 4 kB / 1.328 GB, free: 15.32 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.0005079/0.3545, allocations: 286.1 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.3546, allocations: 12.02 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.368e-05/0.3546, allocations: 34.75 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.961e-05/0.3546, allocations: 8.891 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.3548, allocations: 110.5 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.3548, allocations: 8.375 kB / 1.328 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.3548, allocations: 4.375 kB / 1.328 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.3549, allocations: 57.8 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.3549, allocations: 4 kB / 1.328 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.3549, allocations: 0 / 1.328 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.3549, allocations: 4 kB / 1.328 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.761e-05/0.355, allocations: 23.98 kB / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005128/0.3555, allocations: 267.7 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.3556, allocations: 50.56 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.896e-05/0.3557, allocations: 24.94 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.646e-06/0.3557, allocations: 96 / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001897/0.3559, allocations: 79.27 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.3559, allocations: 0 / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.000255/0.3561, allocations: 109.5 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.3562, allocations: 55.41 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.522e-05/0.3563, allocations: 105.8 kB / 1.329 GB, free: 13.94 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.3563, allocations: 25.7 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.794e-05/0.3564, allocations: 92.09 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.3564, allocations: 27.81 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.711e-05/0.3564, allocations: 25.72 kB / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001881/0.3566, allocations: 318.8 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.083e-05/0.3567, allocations: 20 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.442e-05/0.3567, allocations: 47.36 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.571e-05/0.3568, allocations: 63.42 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.3568, allocations: 4 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001548/0.357, allocations: 105.6 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.357, allocations: 4 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.357, allocations: 0 / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.357, allocations: 4 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.929e-05/0.3571, allocations: 8 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3571, allocations: 0 / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.639e-05/0.3571, allocations: 15.97 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.3572, allocations: 7.938 kB / 1.33 GB, free: 13.13 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.825e-05/0.3573, allocations: 126.3 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.021e-05/0.3573, allocations: 0 / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.311e-05/0.3573, allocations: 12 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3573, allocations: 4 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.3573, allocations: 0 / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.3573, allocations: 3.984 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004202/0.3577, allocations: 325.8 kB / 1.33 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3577, allocations: 11.98 kB / 1.33 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.403e-05/0.3578, allocations: 0 / 1.33 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.3578, allocations: 4 kB / 1.33 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.106e-06/0.3578, allocations: 0 / 1.33 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.3578, allocations: 3.938 kB / 1.33 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3578, allocations: 3.938 kB / 1.33 GB, free: 12.58 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/0.358, allocations: 183.5 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.076e-05/0.358, allocations: 4.234 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.358, allocations: 0 / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.3581, allocations: 15.92 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/0.3581, allocations: 15.91 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.3581, allocations: 8 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.127e-05/0.3582, allocations: 83.28 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3582, allocations: 0 / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002276/0.3584, allocations: 12 kB / 1.331 GB, free: 12.25 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.0004634/0.3589, allocations: 0.7147 MB / 1.331 GB, free: 11.51 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001319/0.359, allocations: 51.91 kB / 1.331 GB, free: 11.46 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.359, allocations: 4 kB / 1.331 GB, free: 11.46 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.141e-05/0.3591, allocations: 24.22 kB / 1.331 GB, free: 11.43 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.3593, allocations: 16.17 kB / 1.331 GB, free: 11.42 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.3607, allocations: 1.372 MB / 1.333 GB, free: 9.949 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.624e-05/0.3608, allocations: 75.31 kB / 1.333 GB, free: 9.855 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.763e-05/0.3608, allocations: 4 kB / 1.333 GB, free: 9.852 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.171e-05/0.3609, allocations: 19.44 kB / 1.333 GB, free: 9.832 MB / 1.029 GB Notification: Performance of SimCode: time 4.91e-07/0.3609, allocations: 0 / 1.333 GB, free: 9.832 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02794/0.3888, allocations: 2.36 MB / 1.335 GB, free: 7.617 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/11.06, allocations: 6.094 kB / 1.335 GB, free: 7.613 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.746169614983955]