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.001045/0.001045, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009296/0.0009296, allocations: 161 kB / 23.82 MB, free: 0.75 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.907/0.907, allocations: 177.1 MB / 204.2 MB, free: 5.594 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.725/1.725, allocations: 359 MB / 0.6052 GB, free: 10.95 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.884e-06/1.884e-06, allocations: 0 / 0.7871 GB, free: 11.38 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.092e-05/3.28e-05, allocations: 6.031 kB / 0.7871 GB, free: 11.37 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.StatusEmulator): time 0.002877/0.002909, allocations: 1.827 MB / 0.7889 GB, free: 9.547 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001242/0.004152, allocations: 0.84 MB / 0.7897 GB, free: 8.703 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.711e-05/0.004249, allocations: 4 kB / 0.7897 GB, free: 8.699 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001328/0.004381, allocations: 15.81 kB / 0.7897 GB, free: 8.684 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002564/0.004638, allocations: 49.3 kB / 0.7897 GB, free: 8.637 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004319/0.00507, allocations: 157 kB / 0.7899 GB, free: 8.484 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002808/0.005351, allocations: 207.5 kB / 0.7901 GB, free: 8.281 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.005465, allocations: 37.55 kB / 0.7901 GB, free: 8.242 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000212/0.005677, allocations: 120.7 kB / 0.7902 GB, free: 8.125 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.005806, allocations: 63.84 kB / 0.7903 GB, free: 8.062 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.112e-05/0.005837, allocations: 16.75 kB / 0.7903 GB, free: 8.047 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.03e-05/0.005897, allocations: 28 kB / 0.7903 GB, free: 8.02 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 6.508e-05/0.005962, allocations: 42.36 kB / 0.7904 GB, free: 7.98 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.345e-05/0.006026, allocations: 43.91 kB / 0.7904 GB, free: 7.938 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.006233, allocations: 151.5 kB / 0.7906 GB, free: 7.789 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.006236, allocations: 0 / 0.7906 GB, free: 7.789 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.001e-06/0.006237, allocations: 0 / 0.7906 GB, free: 7.789 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.006242, allocations: 0 / 0.7906 GB, free: 7.789 MB / 0.698 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.0006331/0.006875, allocations: 499 kB / 0.791 GB, free: 7.262 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.006915, allocations: 12.03 kB / 0.7911 GB, free: 7.25 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.575e-05/0.006981, allocations: 20.84 kB / 0.7911 GB, free: 7.23 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/0.007242, allocations: 195 kB / 0.7913 GB, free: 7.012 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.007266, allocations: 13.09 kB / 0.7913 GB, free: 7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.099e-05/0.007297, allocations: 8.375 kB / 0.7913 GB, free: 6.992 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.007417, allocations: 62.75 kB / 0.7913 GB, free: 6.926 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.006e-06/0.007425, allocations: 1.844 kB / 0.7913 GB, free: 6.926 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.007436, allocations: 384 / 0.7913 GB, free: 6.926 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.722e-05/0.007463, allocations: 7.938 kB / 0.7914 GB, free: 6.918 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.437e-05/0.007537, allocations: 31.97 kB / 0.7914 GB, free: 6.887 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004458/0.007983, allocations: 399.9 kB / 0.7918 GB, free: 6.461 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.008096, allocations: 59.61 kB / 0.7918 GB, free: 6.391 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.211e-05/0.008129, allocations: 20.5 kB / 0.7918 GB, free: 6.367 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.764e-06/0.008136, allocations: 9.094 kB / 0.7919 GB, free: 6.359 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.461e-05/0.008231, allocations: 72.98 kB / 0.7919 GB, free: 6.273 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 1.392e-06/0.008232, allocations: 0 / 0.7919 GB, free: 6.273 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0002098/0.008442, allocations: 106.9 kB / 0.792 GB, free: 6.164 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.008479, allocations: 59.34 kB / 0.7921 GB, free: 6.094 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.008615, allocations: 223.3 kB / 0.7923 GB, free: 5.859 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.008636, allocations: 29.7 kB / 0.7923 GB, free: 5.824 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.542e-05/0.008702, allocations: 160.7 kB / 0.7925 GB, free: 5.664 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.008729, allocations: 31.94 kB / 0.7925 GB, free: 5.633 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.694e-05/0.008785, allocations: 47.36 kB / 0.7925 GB, free: 5.578 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.008896, allocations: 0.4961 MB / 0.793 GB, free: 5.07 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.023e-05/0.008976, allocations: 69.67 kB / 0.7931 GB, free: 4.996 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.794e-05/0.009054, allocations: 89.86 kB / 0.7932 GB, free: 4.891 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.009157, allocations: 110.6 kB / 0.7933 GB, free: 4.766 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.009159, allocations: 0 / 0.7933 GB, free: 4.766 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002257/0.009385, allocations: 220.9 kB / 0.7935 GB, free: 4.531 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.047e-05/0.009415, allocations: 41.69 kB / 0.7935 GB, free: 4.484 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.009421, allocations: 6.406 kB / 0.7935 GB, free: 4.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.009434, allocations: 0 / 0.7935 GB, free: 4.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.009547, allocations: 23.98 kB / 0.7936 GB, free: 4.457 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.009553, allocations: 0 / 0.7936 GB, free: 4.457 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.009656, allocations: 23.92 kB / 0.7936 GB, free: 4.434 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.009675, allocations: 16.52 kB / 0.7936 GB, free: 4.418 MB / 0.698 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.174e-05/0.009757, allocations: 170.4 kB / 0.7938 GB, free: 4.242 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.77e-05/0.009774, allocations: 15.91 kB / 0.7938 GB, free: 4.227 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.964e-05/0.009804, allocations: 21.45 kB / 0.7938 GB, free: 4.207 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.009807, allocations: 0 / 0.7938 GB, free: 4.207 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.00981, allocations: 0 / 0.7938 GB, free: 4.207 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.009814, allocations: 2.562 kB / 0.7938 GB, free: 4.207 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.00993, allocations: 160.5 kB / 0.794 GB, free: 4.016 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.009931, allocations: 0 / 0.794 GB, free: 4.016 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.751e-05/0.009979, allocations: 8 kB / 0.794 GB, free: 4.008 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.009981, allocations: 0 / 0.794 GB, free: 4.008 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.009996, allocations: 3.984 kB / 0.794 GB, free: 4.004 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.009997, allocations: 0 / 0.794 GB, free: 4.004 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.009998, allocations: 0.5312 kB / 0.794 GB, free: 4.004 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.01018, allocations: 149.1 kB / 0.7941 GB, free: 3.836 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.454e-05/0.01022, allocations: 19.94 kB / 0.7941 GB, free: 3.816 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.01023, allocations: 4.719 kB / 0.7941 GB, free: 3.812 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.911e-05/0.01027, allocations: 11.98 kB / 0.7942 GB, free: 3.801 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.702e-05/0.01031, allocations: 1.156 kB / 0.7942 GB, free: 3.801 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-06/0.01032, allocations: 7.984 kB / 0.7942 GB, free: 3.793 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.316e-05/0.0104, allocations: 159.9 kB / 0.7943 GB, free: 3.637 MB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.0104, allocations: 0.8438 kB / 0.7943 GB, free: 3.637 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001712/0.01057, allocations: 39.89 kB / 0.7944 GB, free: 3.598 MB / 0.698 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.0003803/0.01095, allocations: 100.6 kB / 0.7944 GB, free: 3.488 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002095/0.01116, allocations: 172.7 kB / 0.7946 GB, free: 3.297 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01116, allocations: 4.719 kB / 0.7946 GB, free: 3.293 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.498e-05/0.01121, allocations: 39.61 kB / 0.7947 GB, free: 3.25 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002073/0.01142, allocations: 34.36 kB / 0.7947 GB, free: 3.223 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003864/0.0118, allocations: 247.8 kB / 0.7949 GB, free: 2.949 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.927e-05/0.01184, allocations: 71.33 kB / 0.795 GB, free: 2.859 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.667e-05/0.01189, allocations: 18.72 kB / 0.795 GB, free: 2.84 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.231e-05/0.01192, allocations: 20.5 kB / 0.795 GB, free: 2.82 MB / 0.698 GB Notification: Performance of SimCode: time 8.11e-07/0.01192, allocations: 0 / 0.795 GB, free: 2.82 MB / 0.698 GB Notification: Performance of Templates: time 0.004284/0.01621, allocations: 2.277 MB / 0.7973 GB, free: 0.5977 MB / 0.698 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: 4.904633321799338]