Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001868/0.001868, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.002278/0.002278, allocations: 210.5 kB / 23 MB, free: 4.934 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.468/1.468, allocations: 230.6 MB / 256.8 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.132/3.132, allocations: 0.49 GB / 0.7959 GB, free: 35.47 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: translateModel(Buildings.Templates.Components.Controls.Validation.StatusEmulator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sta.y1|sta.y1_actual",fileNamePrefix="Buildings_12_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",fileNamePrefix="Buildings_12_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.002023/0.002023, allocations: 68.95 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3206, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.StatusEmulator): time 0.003265/0.3238, allocations: 1.754 MB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.3251, allocations: 0.6896 MB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.948e-05/0.3252, allocations: 7.938 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001234/0.3253, allocations: 27.67 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.6e-05/0.3254, allocations: 31.73 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007264/0.3261, allocations: 262.4 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000485/0.3266, allocations: 403.4 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003046/0.3269, allocations: 191.2 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001558/0.3271, allocations: 139.6 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001986/0.3273, allocations: 139.5 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.158e-05/0.3273, allocations: 40 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.3275, allocations: 55.98 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.419e-05/0.3275, allocations: 67.83 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001359/0.3277, allocations: 123.5 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004702/0.3282, allocations: 414.5 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3282, allocations: 0 / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3282, allocations: 4 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.3282, allocations: 0 / 1.331 GB, free: 12.67 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008156/0.329, allocations: 490.7 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.329, allocations: 12.03 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002759/0.3293, allocations: 40.77 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003828/0.3297, allocations: 203.2 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.142e-05/0.3297, allocations: 24.88 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.938e-05/0.3298, allocations: 32.38 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004919/0.3303, allocations: 267.3 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.3303, allocations: 192 / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.445e-05/0.3303, allocations: 19.92 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.3303, allocations: 4 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003463/0.3307, allocations: 185.9 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/0.3318, allocations: 0.6909 MB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003228/0.3321, allocations: 154.8 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/0.3322, allocations: 86.39 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.3322, allocations: 0 / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002515/0.3325, allocations: 146.8 kB / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of pre-optimization done (n=27): time 3.877e-06/0.3325, allocations: 3.984 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=27): time 0.0005338/0.333, allocations: 271.6 kB / 1.334 GB, free: 9.945 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.3331, allocations: 71.38 kB / 1.334 GB, free: 9.863 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.3332, allocations: 159.7 kB / 1.334 GB, free: 9.699 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.062e-05/0.3333, allocations: 41.7 kB / 1.334 GB, free: 9.652 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.3334, allocations: 140.8 kB / 1.334 GB, free: 9.512 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.786e-05/0.3335, allocations: 71.42 kB / 1.334 GB, free: 9.441 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001599/0.3336, allocations: 89.67 kB / 1.334 GB, free: 9.348 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.3338, allocations: 330.8 kB / 1.335 GB, free: 9.016 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002195/0.334, allocations: 125.7 kB / 1.335 GB, free: 8.887 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002677/0.3343, allocations: 197.2 kB / 1.335 GB, free: 8.66 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003563/0.3346, allocations: 248.8 kB / 1.335 GB, free: 8.387 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3346, allocations: 3.938 kB / 1.335 GB, free: 8.383 MB / 1.029 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006154/0.3352, allocations: 385.9 kB / 1.336 GB, free: 7.988 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.359e-05/0.3353, allocations: 37.91 kB / 1.336 GB, free: 7.945 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.3353, allocations: 4 kB / 1.336 GB, free: 7.941 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.3353, allocations: 11.88 kB / 1.336 GB, free: 7.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.3355, allocations: 31.92 kB / 1.336 GB, free: 7.898 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.3355, allocations: 7.938 kB / 1.336 GB, free: 7.891 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002499/0.3357, allocations: 43.81 kB / 1.336 GB, free: 7.848 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.574e-05/0.3358, allocations: 19.98 kB / 1.336 GB, free: 7.828 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 33 ($PRE.sta.offToOn.enableFire,$PRE.sta.onToOff.enableFire,$whenCondition1,$whenCondition2,sta.onToOff.t_start,$PRE.sta.onToOff.t_start,sta.onToOff.fire,sta.onToOff.enableFire,sta.on.active,sta.on.oldActive,$PRE.sta.on.oldActive,sta.on.newActive,$PRE.sta.on.newActive,sta.on.localActive,$PRE.sta.on.localActive,sta.offToOn.t_start,$PRE.sta.offToOn.t_start,sta.offToOn.fire,sta.offToOn.enableFire,sta.off.active,sta.off.oldActive,$PRE.sta.off.oldActive,sta.off.newActive,$PRE.sta.off.newActive,sta.off.localActive,$PRE.sta.off.localActive,sta.stateGraphRoot.activeSteps,y1.y,$PRE.y1.y,$whenCondition3,$whenCondition4,sta.stateGraphRoot.resume,sta.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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.0001789/0.3359, allocations: 178.2 kB / 1.336 GB, free: 7.645 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.771e-05/0.336, allocations: 11.91 kB / 1.336 GB, free: 7.633 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.679e-05/0.336, allocations: 25.91 kB / 1.336 GB, free: 7.605 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.336, allocations: 0 / 1.336 GB, free: 7.605 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.336, allocations: 0 / 1.336 GB, free: 7.605 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.827e-05/0.3361, allocations: 27.83 kB / 1.336 GB, free: 7.578 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.868e-05/0.3361, allocations: 4 kB / 1.336 GB, free: 7.574 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.887e-05/0.3361, allocations: 12 kB / 1.336 GB, free: 7.562 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.761e-05/0.3362, allocations: 27.95 kB / 1.336 GB, free: 7.535 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004305/0.3367, allocations: 284.9 kB / 1.336 GB, free: 7.25 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004112/0.3371, allocations: 391.7 kB / 1.337 GB, free: 6.852 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001392/0.3372, allocations: 84.17 kB / 1.337 GB, free: 6.77 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.244e-05/0.3373, allocations: 100.7 kB / 1.337 GB, free: 6.672 MB / 1.029 GB Notification: Performance of Backend: time 5.91e-07/0.3373, allocations: 0 / 1.337 GB, free: 6.672 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007195/0.338, allocations: 327.9 kB / 1.337 GB, free: 6.324 MB / 1.029 GB Notification: Performance of SimCode: time 0.0008567/0.3389, allocations: 0.7707 MB / 1.338 GB, free: 5.504 MB / 1.029 GB Notification: Performance of Templates: time 0.007286/0.3462, allocations: 3.301 MB / 1.341 GB, free: 2.25 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Components.Controls.Validation.StatusEmulator.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe ; mkfifo Buildings_12_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe >> ../files/Buildings_12_Buildings.Templates.Components.Controls.Validation.StatusEmulator.sim & ./Buildings_12_Buildings.Templates.Components.Controls.Validation.StatusEmulator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Components.Controls.Validation.StatusEmulator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Components_Controls_Validation_StatusEmulator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.595262256996648]