Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.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.001618/0.001618, allocations: 112.4 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.001959/0.001959, allocations: 211.2 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.546/1.546, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.034/3.034, allocations: 0.49 GB / 0.7923 GB, free: 1.277 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.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") [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.002031/0.002031, allocations: 67.91 kB / 1.15 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9113/0.9133, allocations: 176.1 MB / 1.322 GB, free: 25.03 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002134/0.9154, allocations: 1.502 MB / 1.323 GB, free: 23.98 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.000635/0.9161, allocations: 487.7 kB / 1.324 GB, free: 23.65 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.746e-05/0.9161, allocations: 0 / 1.324 GB, free: 23.65 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.426e-05/0.9161, allocations: 0 / 1.324 GB, free: 23.65 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.239e-05/0.9162, allocations: 14.81 kB / 1.324 GB, free: 23.64 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001232/0.9163, allocations: 21.56 kB / 1.324 GB, free: 23.63 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.72e-05/0.9164, allocations: 49.88 kB / 1.324 GB, free: 23.61 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.16e-05/0.9165, allocations: 16.77 kB / 1.324 GB, free: 23.6 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.696e-05/0.9165, allocations: 19.97 kB / 1.324 GB, free: 23.59 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.33e-05/0.9166, allocations: 19.94 kB / 1.324 GB, free: 23.58 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.9166, allocations: 6.859 kB / 1.324 GB, free: 23.57 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.468e-06/0.9166, allocations: 5.781 kB / 1.324 GB, free: 23.57 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.858e-05/0.9166, allocations: 14.16 kB / 1.324 GB, free: 23.57 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.865e-05/0.9167, allocations: 20.72 kB / 1.324 GB, free: 23.55 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.28e-05/0.9168, allocations: 47.66 kB / 1.324 GB, free: 23.54 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.9168, allocations: 0 / 1.324 GB, free: 23.54 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.182e-06/0.9168, allocations: 3.938 kB / 1.324 GB, free: 23.53 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.9168, allocations: 6.781 kB / 1.324 GB, free: 23.53 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.0004268/0.9172, allocations: 360.2 kB / 1.324 GB, free: 23.16 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.9172, allocations: 12.55 kB / 1.324 GB, free: 23.16 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.145e-05/0.9173, allocations: 11.39 kB / 1.324 GB, free: 23.15 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.236e-05/0.9174, allocations: 167.2 kB / 1.325 GB, free: 22.95 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.717e-06/0.9174, allocations: 3.344 kB / 1.325 GB, free: 22.95 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.9174, allocations: 10.09 kB / 1.325 GB, free: 22.95 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.157e-05/0.9175, allocations: 60.17 kB / 1.325 GB, free: 22.9 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.9175, allocations: 3.984 kB / 1.325 GB, free: 22.9 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.9175, allocations: 2.844 kB / 1.325 GB, free: 22.9 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.9175, allocations: 4 kB / 1.325 GB, free: 22.89 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.393e-05/0.9176, allocations: 29.03 kB / 1.325 GB, free: 22.89 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003735/0.9179, allocations: 301.4 kB / 1.325 GB, free: 22.59 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 8.726e-05/0.918, allocations: 54.08 kB / 1.325 GB, free: 22.56 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.461e-05/0.9181, allocations: 17.3 kB / 1.325 GB, free: 22.55 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.184e-05/0.9181, allocations: 4 kB / 1.325 GB, free: 22.54 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001376/0.9182, allocations: 74.75 kB / 1.325 GB, free: 22.48 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.9182, allocations: 0 / 1.325 GB, free: 22.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0001861/0.9184, allocations: 100.3 kB / 1.325 GB, free: 22.43 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.388e-05/0.9184, allocations: 61.61 kB / 1.325 GB, free: 22.36 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.865e-05/0.9185, allocations: 102.9 kB / 1.325 GB, free: 22.26 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.9185, allocations: 28.83 kB / 1.325 GB, free: 22.23 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.369e-05/0.9185, allocations: 96.03 kB / 1.326 GB, free: 22.13 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.9185, allocations: 25.53 kB / 1.326 GB, free: 22.11 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.634e-05/0.9186, allocations: 29.67 kB / 1.326 GB, free: 22.09 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.056e-05/0.9186, allocations: 322.1 kB / 1.326 GB, free: 21.77 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.304e-05/0.9186, allocations: 19.69 kB / 1.326 GB, free: 21.76 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.05e-05/0.9187, allocations: 42.16 kB / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.666e-05/0.9187, allocations: 74.59 kB / 1.326 GB, free: 21.66 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-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.0001126/0.9188, allocations: 93.12 kB / 1.326 GB, free: 21.61 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.9189, allocations: 9.969 kB / 1.326 GB, free: 21.61 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.9189, allocations: 0 / 1.326 GB, free: 21.61 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.9189, allocations: 5.812 kB / 1.326 GB, free: 21.61 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.428e-05/0.9189, allocations: 7.812 kB / 1.326 GB, free: 21.61 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.9189, allocations: 2.531 kB / 1.326 GB, free: 21.61 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.569e-05/0.919, allocations: 18.14 kB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.919, allocations: 9.281 kB / 1.326 GB, free: 21.59 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.328e-05/0.9191, allocations: 120.9 kB / 1.326 GB, free: 21.46 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.072e-05/0.9191, allocations: 6.641 kB / 1.326 GB, free: 21.46 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.528e-05/0.9191, allocations: 10.78 kB / 1.326 GB, free: 21.45 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.9191, allocations: 0 / 1.326 GB, free: 21.45 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.9191, allocations: 3.422 kB / 1.326 GB, free: 21.45 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.9191, allocations: 0 / 1.326 GB, free: 21.45 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000287/0.9194, allocations: 361.1 kB / 1.327 GB, free: 21.11 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.9194, allocations: 0 / 1.327 GB, free: 21.11 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.453e-05/0.9194, allocations: 2.719 kB / 1.327 GB, free: 21.11 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.9194, allocations: 0 / 1.327 GB, free: 21.11 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.9194, allocations: 3.219 kB / 1.327 GB, free: 21.11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.9194, allocations: 7.219 kB / 1.327 GB, free: 21.11 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.9194, allocations: 0 / 1.327 GB, free: 21.11 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.9195, allocations: 182.1 kB / 1.327 GB, free: 20.96 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.85e-05/0.9196, allocations: 83.78 kB / 1.327 GB, free: 20.86 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.9196, allocations: 192 / 1.327 GB, free: 20.86 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.733e-05/0.9197, allocations: 14 kB / 1.327 GB, free: 20.85 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-05/0.9197, allocations: 12.52 kB / 1.327 GB, free: 20.85 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.9197, allocations: 2.531 kB / 1.327 GB, free: 20.85 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.324e-05/0.9197, allocations: 84.88 kB / 1.327 GB, free: 20.77 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9197, allocations: 0 / 1.327 GB, free: 20.77 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002348/0.92, allocations: 10.75 kB / 1.327 GB, free: 20.77 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.119e-05/0.9201, allocations: 112.6 kB / 1.327 GB, free: 20.67 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001213/0.9202, allocations: 51.44 kB / 1.327 GB, free: 20.66 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.9202, allocations: 2.969 kB / 1.327 GB, free: 20.66 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.463e-05/0.9202, allocations: 25.45 kB / 1.327 GB, free: 20.65 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.9205, allocations: 11.59 kB / 1.327 GB, free: 20.64 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002568/0.9207, allocations: 183.6 kB / 1.327 GB, free: 20.48 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.9208, allocations: 0.6871 MB / 1.328 GB, free: 19.78 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.973e-05/0.9209, allocations: 10.12 kB / 1.328 GB, free: 19.77 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.9209, allocations: 0 / 1.328 GB, free: 19.77 MB / 1.061 GB Notification: Performance of Templates: time 0.002284/0.9232, allocations: 0.8678 MB / 1.329 GB, free: 19.7 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,offTim1.u,offTim1.y,offTim2.u,offTim2.y Variables in the result:offTim1.u,offTim1.y,offTim2.u,offTim2.y,time [Calling sys.exit(0), Time elapsed: 11.61277293600142]