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.0007686/0.0007686, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007628/0.0007628, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8567/0.8567, allocations: 177.1 MB / 203.5 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.632/1.632, allocations: 359 MB / 0.6044 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.9517 GB, free: 3.031 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.942e-05/3.101e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.027 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.StatusEmulator): time 0.002201/0.002232, allocations: 1.773 MB / 0.9534 GB, free: 1.234 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.003314, allocations: 0.8178 MB / 0.9542 GB, free: 420 kB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.322e-05/0.003407, allocations: 4 kB / 0.9542 GB, free: 416 kB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001328/0.00354, allocations: 27.73 kB / 0.9543 GB, free: 388 kB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0002521/0.003792, allocations: 43.7 kB / 0.9543 GB, free: 344 kB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003692/0.004161, allocations: 165.5 kB / 0.9545 GB, free: 184 kB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0002314/0.004393, allocations: 203.6 kB / 0.9547 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.004506, allocations: 25.58 kB / 0.9547 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001985/0.004704, allocations: 119.7 kB / 0.9548 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.004839, allocations: 67.78 kB / 0.9549 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.704e-05/0.004866, allocations: 16 kB / 0.9549 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 5.628e-05/0.004922, allocations: 35.92 kB / 0.9549 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 5.991e-05/0.004982, allocations: 27.92 kB / 0.9549 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 6.545e-05/0.005048, allocations: 59.83 kB / 0.955 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002275/0.005275, allocations: 215.4 kB / 0.9552 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.005278, allocations: 0 / 0.9552 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.273e-06/0.005279, allocations: 0 / 0.9552 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.005283, allocations: 0 / 0.9552 GB, free: 15.42 MB / 0.9167 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.000646/0.005929, allocations: 419.2 kB / 0.9556 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.005966, allocations: 12.02 kB / 0.9556 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.284e-05/0.006018, allocations: 16.84 kB / 0.9556 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.006253, allocations: 174.2 kB / 0.9558 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.006271, allocations: 12.36 kB / 0.9558 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.975e-05/0.006301, allocations: 12.38 kB / 0.9558 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.00643, allocations: 82.23 kB / 0.9559 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.006439, allocations: 192 / 0.9559 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.006452, allocations: 8.359 kB / 0.9559 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.972e-05/0.006472, allocations: 11.94 kB / 0.9559 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.706e-05/0.006569, allocations: 59.28 kB / 0.956 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004308/0.007, allocations: 352.2 kB / 0.9563 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.007121, allocations: 82.52 kB / 0.9564 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.61e-05/0.007157, allocations: 28.89 kB / 0.9564 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.007169, allocations: 7.984 kB / 0.9564 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001106/0.00728, allocations: 83.31 kB / 0.9565 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.007281, allocations: 0 / 0.9565 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9): time 0.00024/0.007521, allocations: 141.5 kB / 0.9566 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.007553, allocations: 51.41 kB / 0.9567 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.007692, allocations: 179.2 kB / 0.9569 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.007711, allocations: 30.06 kB / 0.9569 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.315e-05/0.007774, allocations: 112.2 kB / 0.957 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.573e-05/0.0078, allocations: 31.88 kB / 0.957 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.308e-05/0.007853, allocations: 41.7 kB / 0.9571 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.829e-05/0.007931, allocations: 330.7 kB / 0.9574 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.461e-05/0.008026, allocations: 85.66 kB / 0.9575 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.837e-05/0.008114, allocations: 100.2 kB / 0.9576 GB, free: 12.81 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.00824, allocations: 144.2 kB / 0.9577 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.008242, allocations: 0 / 0.9577 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000312/0.008554, allocations: 232.9 kB / 0.9579 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.421e-05/0.008588, allocations: 41.69 kB / 0.958 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.008594, allocations: 0 / 0.958 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.008607, allocations: 0 / 0.958 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.00872, allocations: 23.98 kB / 0.958 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.008726, allocations: 3.938 kB / 0.958 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.008847, allocations: 43.92 kB / 0.958 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.008864, allocations: 11.98 kB / 0.958 GB, free: 12.28 MB / 0.9167 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 8.036e-05/0.008944, allocations: 125.8 kB / 0.9582 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.349e-05/0.008958, allocations: 11.91 kB / 0.9582 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.268e-05/0.00899, allocations: 21.45 kB / 0.9582 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.008995, allocations: 4 kB / 0.9582 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.009, allocations: 0 / 0.9582 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.009004, allocations: 0 / 0.9582 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.009115, allocations: 161.2 kB / 0.9583 GB, free: 11.92 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.009116, allocations: 0 / 0.9583 GB, free: 11.92 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.938e-05/0.009166, allocations: 11.98 kB / 0.9584 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.009168, allocations: 0 / 0.9584 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.009179, allocations: 4 kB / 0.9584 GB, free: 11.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.009181, allocations: 3.938 kB / 0.9584 GB, free: 11.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.009182, allocations: 3.938 kB / 0.9584 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001998/0.009382, allocations: 172.9 kB / 0.9585 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.158e-05/0.009423, allocations: 19.97 kB / 0.9585 GB, free: 11.69 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.00944, allocations: 4 kB / 0.9586 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.15e-05/0.009481, allocations: 7.984 kB / 0.9586 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.009516, allocations: 8.062 kB / 0.9586 GB, free: 11.67 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/0.009525, allocations: 7.984 kB / 0.9586 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 8.393e-05/0.009609, allocations: 128.1 kB / 0.9587 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.009609, allocations: 0 / 0.9587 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001711/0.00978, allocations: 39.83 kB / 0.9587 GB, free: 11.5 MB / 0.9167 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.0001378/0.009917, allocations: 111.2 kB / 0.9588 GB, free: 11.38 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002223/0.01014, allocations: 181 kB / 0.959 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01014, allocations: 0 / 0.959 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.148e-05/0.01019, allocations: 48.05 kB / 0.9591 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002032/0.0104, allocations: 30.14 kB / 0.9591 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004323/0.01083, allocations: 303.7 kB / 0.9594 GB, free: 10.78 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.253e-05/0.01089, allocations: 98.27 kB / 0.9595 GB, free: 10.67 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.008e-05/0.01092, allocations: 16.5 kB / 0.9595 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of SimCode: time 4.61e-07/0.01092, allocations: 4 kB / 0.9595 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of Templates: time 0.002744/0.01366, allocations: 2.018 MB / 0.9615 GB, free: 8.637 MB / 0.9167 GB " [Timeout remaining time 300] 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/jenkins/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: 6.680766325443983]