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.001644/0.001644, allocations: 112.3 kB / 17.13 MB, free: 6.008 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.00203/0.00203, allocations: 212.7 kB / 20.1 MB, free: 3.055 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.515/1.515, allocations: 230.6 MB / 253.5 MB, free: 15.08 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 2.92/2.92, allocations: 0.49 GB / 0.7923 GB, free: 1.238 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: translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer") [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.002063/0.002063, allocations: 63.91 kB / 1.15 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9111/0.9132, allocations: 176.1 MB / 1.322 GB, free: 25.01 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002174/0.9154, allocations: 1.492 MB / 1.323 GB, free: 23.97 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0006569/0.916, allocations: 486.9 kB / 1.324 GB, free: 23.64 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.702e-05/0.916, allocations: 2.844 kB / 1.324 GB, free: 23.64 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.99e-05/0.9161, allocations: 3.938 kB / 1.324 GB, free: 23.64 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.258e-05/0.9161, allocations: 15.3 kB / 1.324 GB, free: 23.62 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001273/0.9163, allocations: 16.81 kB / 1.324 GB, free: 23.62 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.111e-05/0.9163, allocations: 48.88 kB / 1.324 GB, free: 23.59 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.368e-05/0.9164, allocations: 16.28 kB / 1.324 GB, free: 23.59 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.685e-05/0.9165, allocations: 27.36 kB / 1.324 GB, free: 23.57 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.602e-05/0.9165, allocations: 19.81 kB / 1.324 GB, free: 23.56 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.9166, allocations: 5.312 kB / 1.324 GB, free: 23.56 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.008e-05/0.9166, allocations: 6.875 kB / 1.324 GB, free: 23.56 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.967e-05/0.9166, allocations: 13.47 kB / 1.324 GB, free: 23.55 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.534e-05/0.9166, allocations: 21.41 kB / 1.324 GB, free: 23.54 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.155e-05/0.9167, allocations: 46.52 kB / 1.324 GB, free: 23.52 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.9167, allocations: 4 kB / 1.324 GB, free: 23.52 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.172e-06/0.9167, allocations: 0 / 1.324 GB, free: 23.52 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.9167, allocations: 0 / 1.324 GB, free: 23.52 MB / 1.061 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.000384/0.9171, allocations: 359.7 kB / 1.324 GB, free: 23.15 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.014e-05/0.9171, allocations: 18.92 kB / 1.324 GB, free: 23.14 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.208e-05/0.9172, allocations: 7.547 kB / 1.324 GB, free: 23.14 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.961e-05/0.9173, allocations: 166.1 kB / 1.325 GB, free: 22.95 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.9173, allocations: 6.875 kB / 1.325 GB, free: 22.94 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.9173, allocations: 7 kB / 1.325 GB, free: 22.94 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.527e-05/0.9174, allocations: 64.33 kB / 1.325 GB, free: 22.89 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.9174, allocations: 0 / 1.325 GB, free: 22.89 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.9174, allocations: 0 / 1.325 GB, free: 22.89 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.9174, allocations: 0 / 1.325 GB, free: 22.89 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.532e-05/0.9174, allocations: 26.81 kB / 1.325 GB, free: 22.88 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004019/0.9178, allocations: 306.3 kB / 1.325 GB, free: 22.59 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.251e-05/0.9179, allocations: 54.7 kB / 1.325 GB, free: 22.55 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.707e-05/0.918, allocations: 17.39 kB / 1.325 GB, free: 22.54 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.14e-05/0.918, allocations: 2.625 kB / 1.325 GB, free: 22.54 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001296/0.9181, allocations: 77.92 kB / 1.325 GB, free: 22.48 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.203e-06/0.9181, allocations: 0 / 1.325 GB, free: 22.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0001947/0.9183, allocations: 103.9 kB / 1.325 GB, free: 22.42 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.823e-05/0.9183, allocations: 57.23 kB / 1.325 GB, free: 22.36 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.161e-05/0.9184, allocations: 110.5 kB / 1.325 GB, free: 22.25 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.9184, allocations: 28.33 kB / 1.325 GB, free: 22.21 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.555e-05/0.9184, allocations: 92.03 kB / 1.326 GB, free: 22.12 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.9185, allocations: 28.88 kB / 1.326 GB, free: 22.1 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.491e-05/0.9185, allocations: 25.91 kB / 1.326 GB, free: 22.08 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.461e-05/0.9185, allocations: 321.9 kB / 1.326 GB, free: 21.76 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.426e-05/0.9186, allocations: 17.78 kB / 1.326 GB, free: 21.75 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.182e-05/0.9186, allocations: 43.66 kB / 1.326 GB, free: 21.71 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.024e-05/0.9187, allocations: 69.59 kB / 1.326 GB, free: 21.66 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.9187, allocations: 0 / 1.326 GB, free: 21.66 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000117/0.9188, allocations: 98.33 kB / 1.326 GB, free: 21.6 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.9188, allocations: 5.594 kB / 1.326 GB, free: 21.6 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.9188, allocations: 0 / 1.326 GB, free: 21.6 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.9188, allocations: 3.281 kB / 1.326 GB, free: 21.6 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.678e-05/0.9189, allocations: 16.09 kB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.9189, allocations: 7.125 kB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.422e-05/0.919, allocations: 13.95 kB / 1.326 GB, free: 21.58 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.919, allocations: 3.062 kB / 1.326 GB, free: 21.58 MB / 1.061 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 5.624e-05/0.919, allocations: 134.3 kB / 1.326 GB, free: 21.45 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.071e-05/0.919, allocations: 0 / 1.326 GB, free: 21.45 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.653e-05/0.9191, allocations: 10.81 kB / 1.326 GB, free: 21.43 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.9191, allocations: 0 / 1.326 GB, free: 21.43 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.9191, allocations: 0 / 1.326 GB, free: 21.43 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.9191, allocations: 0 / 1.326 GB, free: 21.43 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002909/0.9194, allocations: 358.5 kB / 1.327 GB, free: 21.11 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.9194, allocations: 7.094 kB / 1.327 GB, free: 21.1 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.435e-05/0.9194, allocations: 3.125 kB / 1.327 GB, free: 21.1 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.9194, allocations: 0 / 1.327 GB, free: 21.1 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.9194, allocations: 480 / 1.327 GB, free: 21.1 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.9194, allocations: 3.938 kB / 1.327 GB, free: 21.1 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.9194, allocations: 3.062 kB / 1.327 GB, free: 21.1 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001132/0.9195, allocations: 181.8 kB / 1.327 GB, free: 20.95 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.885e-05/0.9195, allocations: 84.72 kB / 1.327 GB, free: 20.85 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.9195, allocations: 3.094 kB / 1.327 GB, free: 20.85 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.896e-05/0.9196, allocations: 10.97 kB / 1.327 GB, free: 20.84 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.86e-05/0.9197, allocations: 10.42 kB / 1.327 GB, free: 20.84 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.9197, allocations: 10.31 kB / 1.327 GB, free: 20.83 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.418e-05/0.9197, allocations: 81.81 kB / 1.327 GB, free: 20.75 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9197, allocations: 0 / 1.327 GB, free: 20.75 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002332/0.9199, allocations: 12.72 kB / 1.327 GB, free: 20.75 MB / 1.061 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 7.238e-05/0.92, allocations: 103.4 kB / 1.327 GB, free: 20.66 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001178/0.9201, allocations: 54.55 kB / 1.327 GB, free: 20.64 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.9201, allocations: 0 / 1.327 GB, free: 20.64 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.534e-05/0.9202, allocations: 26.03 kB / 1.327 GB, free: 20.64 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.9205, allocations: 9 kB / 1.327 GB, free: 20.63 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003441/0.9208, allocations: 197 kB / 1.327 GB, free: 20.46 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.545e-05/0.9209, allocations: 0.6869 MB / 1.328 GB, free: 19.77 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.776e-05/0.9209, allocations: 17.22 kB / 1.328 GB, free: 19.76 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/0.9209, allocations: 0 / 1.328 GB, free: 19.76 MB / 1.061 GB Notification: Performance of Templates: time 0.002204/0.9231, allocations: 0.863 MB / 1.329 GB, free: 19.69 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 400] 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: 11.612759944007848]