Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Components.Controls.Validation.StatusEmulator.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.001607/0.001607, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001777/0.001777, allocations: 220.4 kB / 23 MB, free: 4.914 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.511/1.511, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.748/2.748, allocations: 476 MB / 0.7707 GB, free: 4.711 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Templates.Components.Controls.Validation.StatusEmulator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sta.y1|sta.y1_actual|sta.fil.y|sta.yLim",fileNamePrefix="Buildings_11_Buildings.Templates.Components.Controls.Validation.StatusEmulator") translateModel(Buildings.Templates.Components.Controls.Validation.StatusEmulator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sta.y1|sta.y1_actual|sta.fil.y|sta.yLim",fileNamePrefix="Buildings_11_Buildings.Templates.Components.Controls.Validation.StatusEmulator") [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.002121/0.002121, allocations: 65.88 kB / 1.118 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3136, allocations: 170 MB / 1.284 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.StatusEmulator): time 0.003364/0.317, allocations: 1.764 MB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001576/0.3185, allocations: 0.826 MB / 1.286 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.924e-05/0.3186, allocations: 0 / 1.286 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001337/0.3188, allocations: 23.8 kB / 1.286 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002412/0.319, allocations: 35.73 kB / 1.286 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000471/0.3195, allocations: 160.5 kB / 1.287 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003285/0.3198, allocations: 223.5 kB / 1.287 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.3199, allocations: 25.56 kB / 1.287 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001872/0.3201, allocations: 87.75 kB / 1.287 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001883/0.3203, allocations: 75.66 kB / 1.287 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.983e-05/0.3203, allocations: 24 kB / 1.287 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.776e-05/0.3204, allocations: 27.98 kB / 1.287 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.781e-05/0.3205, allocations: 27.92 kB / 1.287 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.662e-05/0.3206, allocations: 75.69 kB / 1.287 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002956/0.3209, allocations: 199.2 kB / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3209, allocations: 0 / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3209, allocations: 0 / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.3209, allocations: 0 / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008621/0.3217, allocations: 399.4 kB / 1.288 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.3218, allocations: 12.03 kB / 1.288 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.409e-05/0.3218, allocations: 20.84 kB / 1.288 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003706/0.3222, allocations: 186.9 kB / 1.288 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.3222, allocations: 4.375 kB / 1.288 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.328e-05/0.3223, allocations: 12.38 kB / 1.288 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.3225, allocations: 96.3 kB / 1.288 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.3225, allocations: 0 / 1.288 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.3225, allocations: 0 / 1.288 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.931e-05/0.3225, allocations: 4 kB / 1.288 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.3226, allocations: 59.97 kB / 1.288 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006269/0.3233, allocations: 344.2 kB / 1.288 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.3234, allocations: 86.56 kB / 1.288 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.647e-05/0.3235, allocations: 28.86 kB / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.3235, allocations: 0 / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001437/0.3236, allocations: 83.38 kB / 1.289 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.203e-06/0.3236, allocations: 0 / 1.289 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0003349/0.324, allocations: 141.4 kB / 1.289 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.324, allocations: 55.41 kB / 1.289 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002352/0.3243, allocations: 184 kB / 1.289 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/0.3243, allocations: 33.7 kB / 1.289 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.683e-05/0.3244, allocations: 108.1 kB / 1.289 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.685e-05/0.3244, allocations: 35.83 kB / 1.289 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.258e-05/0.3245, allocations: 45.69 kB / 1.289 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.3247, allocations: 326.8 kB / 1.289 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.3248, allocations: 81.67 kB / 1.289 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/0.325, allocations: 104.2 kB / 1.29 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001968/0.3252, allocations: 136.2 kB / 1.29 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3252, allocations: 0 / 1.29 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003888/0.3255, allocations: 244.9 kB / 1.29 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.899e-05/0.3256, allocations: 29.7 kB / 1.29 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.3256, allocations: 4 kB / 1.29 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.3256, allocations: 0 / 1.29 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.3258, allocations: 27.98 kB / 1.29 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.3258, allocations: 0 / 1.29 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000226/0.326, allocations: 43.91 kB / 1.29 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.326, allocations: 4 kB / 1.29 GB, free: 5.258 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,sta.y1_actual,y1.y,$PRE.y1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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.0001412/0.3262, allocations: 145.7 kB / 1.29 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.3262, allocations: 11.95 kB / 1.29 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.079e-05/0.3262, allocations: 13.41 kB / 1.29 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.3262, allocations: 0 / 1.29 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.3262, allocations: 0 / 1.29 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.3262, allocations: 7.938 kB / 1.29 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.3264, allocations: 153.3 kB / 1.29 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3264, allocations: 0 / 1.29 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.31e-05/0.3265, allocations: 12 kB / 1.29 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.3265, allocations: 0 / 1.29 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.3265, allocations: 8 kB / 1.29 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.3265, allocations: 480 / 1.29 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3265, allocations: 0 / 1.29 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002933/0.3268, allocations: 176.8 kB / 1.291 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.145e-05/0.3269, allocations: 23.86 kB / 1.291 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.921e-05/0.3269, allocations: 11.98 kB / 1.291 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.284e-05/0.327, allocations: 0 / 1.291 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.327, allocations: 11.97 kB / 1.291 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.327, allocations: 12 kB / 1.291 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001573/0.3272, allocations: 128 kB / 1.291 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3272, allocations: 0 / 1.291 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002348/0.3274, allocations: 31.94 kB / 1.291 GB, free: 4.465 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (sta.fil.s[1],sta.fil.s[2]) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,y1.y,sta.y1_actual) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001468/0.3276, allocations: 107.2 kB / 1.291 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003387/0.3279, allocations: 189 kB / 1.291 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3279, allocations: 0 / 1.291 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.604e-05/0.328, allocations: 35.92 kB / 1.291 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.3283, allocations: 30.61 kB / 1.291 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006148/0.3289, allocations: 330.9 kB / 1.291 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.329, allocations: 98.27 kB / 1.292 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.465e-05/0.329, allocations: 11.44 kB / 1.292 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/0.329, allocations: 0 / 1.292 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of Templates: time 0.004351/0.3334, allocations: 1.976 MB / 1.293 GB, free: 1.637 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Templates.Components.Controls.Validation.StatusEmulator.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe ; mkfifo Buildings_11_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe >> ../files/Buildings_11_Buildings.Templates.Components.Controls.Validation.StatusEmulator.sim & ./Buildings_11_Buildings.Templates.Components.Controls.Validation.StatusEmulator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Templates.Components.Controls.Validation.StatusEmulator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Components_Controls_Validation_StatusEmulator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Components.Controls.Validation.StatusEmulator.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.314296721015126]