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.001032/0.001032, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001673/0.001673, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.9513/0.9513, allocations: 177.1 MB / 204.6 MB, free: 5.645 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.762/1.762, allocations: 359 MB / 0.6055 GB, free: 10.96 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.152e-06/1.152e-06, allocations: 0 / 0.7871 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.529e-05/1.644e-05, allocations: 3.312 kB / 0.7871 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.StatusEmulator): time 0.002129/0.002145, allocations: 1.812 MB / 0.7888 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.003217, allocations: 0.8461 MB / 0.7897 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.639e-05/0.003314, allocations: 4 kB / 0.7897 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.003437, allocations: 19.73 kB / 0.7897 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002199/0.003657, allocations: 43.69 kB / 0.7897 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003854/0.004042, allocations: 165.2 kB / 0.7899 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002547/0.004297, allocations: 203.6 kB / 0.7901 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.00441, allocations: 29.61 kB / 0.7901 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002057/0.004616, allocations: 112.4 kB / 0.7902 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.004769, allocations: 72.31 kB / 0.7903 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.671e-05/0.004796, allocations: 16 kB / 0.7903 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.443e-05/0.00485, allocations: 29.11 kB / 0.7903 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.93e-05/0.00491, allocations: 27.92 kB / 0.7904 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.476e-05/0.004974, allocations: 55.83 kB / 0.7904 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.005163, allocations: 153.2 kB / 0.7906 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.005168, allocations: 3.984 kB / 0.7906 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.21e-07/0.005168, allocations: 0 / 0.7906 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.005173, allocations: 4 kB / 0.7906 GB, free: 9.25 MB / 0.7448 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.0006145/0.005787, allocations: 0.4911 MB / 0.791 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.005827, allocations: 8.031 kB / 0.791 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.081e-05/0.005888, allocations: 20.84 kB / 0.7911 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.006127, allocations: 195.5 kB / 0.7913 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.006145, allocations: 9.125 kB / 0.7913 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/0.006173, allocations: 8.375 kB / 0.7913 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.006288, allocations: 79.75 kB / 0.7913 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.006296, allocations: 192 / 0.7913 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.006308, allocations: 384 / 0.7913 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.128e-05/0.006339, allocations: 7.938 kB / 0.7914 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.926e-05/0.006408, allocations: 31.97 kB / 0.7914 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000423/0.006831, allocations: 391.9 kB / 0.7918 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.723e-05/0.006928, allocations: 59.78 kB / 0.7918 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.456e-05/0.006963, allocations: 19.69 kB / 0.7918 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.255e-06/0.006971, allocations: 0.5312 kB / 0.7918 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000104/0.007075, allocations: 82.67 kB / 0.7919 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.744e-06/0.007077, allocations: 0 / 0.7919 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0001925/0.00727, allocations: 105.5 kB / 0.792 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.007299, allocations: 51.41 kB / 0.7921 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.007432, allocations: 223.1 kB / 0.7923 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.007451, allocations: 34.3 kB / 0.7923 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.668e-05/0.007518, allocations: 158.9 kB / 0.7925 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.838e-05/0.007546, allocations: 32.73 kB / 0.7925 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.435e-05/0.007601, allocations: 43.36 kB / 0.7925 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.007737, allocations: 0.4973 MB / 0.793 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.937e-05/0.007816, allocations: 69.67 kB / 0.7931 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.591e-05/0.007902, allocations: 92.73 kB / 0.7932 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.00801, allocations: 114 kB / 0.7933 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.008012, allocations: 0 / 0.7933 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002222/0.008235, allocations: 213.8 kB / 0.7935 GB, free: 6 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.943e-05/0.008264, allocations: 37.69 kB / 0.7935 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.00827, allocations: 4.781 kB / 0.7935 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.008285, allocations: 0 / 0.7935 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.008407, allocations: 29.17 kB / 0.7936 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.008414, allocations: 0 / 0.7936 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.985e-05/0.008514, allocations: 24.77 kB / 0.7936 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/0.008531, allocations: 11.98 kB / 0.7936 GB, free: 5.891 MB / 0.7448 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 9.129e-05/0.008623, allocations: 169.8 kB / 0.7938 GB, free: 5.715 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.537e-05/0.008638, allocations: 11.91 kB / 0.7938 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.816e-05/0.008666, allocations: 18.69 kB / 0.7938 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.00867, allocations: 4 kB / 0.7938 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.008674, allocations: 3.984 kB / 0.7938 GB, free: 5.68 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.008677, allocations: 1.844 kB / 0.7938 GB, free: 5.68 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.008785, allocations: 160.5 kB / 0.7939 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.008786, allocations: 0 / 0.7939 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.421e-05/0.008831, allocations: 8 kB / 0.794 GB, free: 5.48 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.008833, allocations: 0 / 0.794 GB, free: 5.48 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.008848, allocations: 6.5 kB / 0.794 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.008848, allocations: 0 / 0.794 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.008851, allocations: 7.922 kB / 0.794 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.00903, allocations: 148.2 kB / 0.7941 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.375e-05/0.009064, allocations: 23.88 kB / 0.7941 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.009081, allocations: 12 kB / 0.7941 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.051e-05/0.009111, allocations: 0 / 0.7941 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.401e-05/0.009145, allocations: 8.484 kB / 0.7941 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.00915, allocations: 0.5312 kB / 0.7941 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.677e-05/0.009227, allocations: 166.7 kB / 0.7943 GB, free: 5.098 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.009227, allocations: 0 / 0.7943 GB, free: 5.098 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001554/0.009382, allocations: 35.94 kB / 0.7943 GB, free: 5.062 MB / 0.7448 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.0001055/0.009488, allocations: 107.2 kB / 0.7944 GB, free: 4.949 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002029/0.009691, allocations: 173.8 kB / 0.7946 GB, free: 4.758 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.009693, allocations: 0 / 0.7946 GB, free: 4.758 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.318e-05/0.009736, allocations: 32.33 kB / 0.7946 GB, free: 4.723 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001783/0.009914, allocations: 39.72 kB / 0.7947 GB, free: 4.688 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004084/0.01032, allocations: 261.8 kB / 0.7949 GB, free: 4.402 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.934e-05/0.01037, allocations: 75.33 kB / 0.795 GB, free: 4.309 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.991e-05/0.01041, allocations: 12.97 kB / 0.795 GB, free: 4.293 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.164e-05/0.01044, allocations: 16.5 kB / 0.795 GB, free: 4.277 MB / 0.7448 GB Notification: Performance of SimCode: time 6.51e-07/0.01044, allocations: 1.781 kB / 0.795 GB, free: 4.277 MB / 0.7448 GB Notification: Performance of Templates: time 0.003719/0.01416, allocations: 2.126 MB / 0.7971 GB, free: 2.207 MB / 0.7448 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.205070709809661]