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.001024/0.001024, allocations: 83.59 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.001862/0.001862, allocations: 161 kB / 23.82 MB, free: 0.7461 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 1.04/1.04, allocations: 177.1 MB / 204.2 MB, free: 5.312 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.801/1.801, allocations: 359 MB / 0.6052 GB, free: 11.03 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.543e-06/1.543e-06, allocations: 0 / 0.7871 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.682e-05/2.836e-05, allocations: 3.406 kB / 0.7871 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.StatusEmulator): time 0.00425/0.004279, allocations: 1.833 MB / 0.7889 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001266/0.005545, allocations: 0.8427 MB / 0.7897 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.846e-05/0.005643, allocations: 4 kB / 0.7897 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001281/0.005772, allocations: 16.83 kB / 0.7897 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002463/0.006018, allocations: 41.12 kB / 0.7897 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004688/0.006487, allocations: 163.5 kB / 0.7899 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002778/0.006764, allocations: 212.5 kB / 0.7901 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.006869, allocations: 25.62 kB / 0.7901 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002472/0.007116, allocations: 121.3 kB / 0.7902 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.007275, allocations: 63.84 kB / 0.7903 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.602e-05/0.007311, allocations: 20 kB / 0.7903 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.153e-05/0.007383, allocations: 33.36 kB / 0.7903 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.642e-05/0.007449, allocations: 31.86 kB / 0.7904 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.997e-05/0.007529, allocations: 51.89 kB / 0.7904 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002492/0.007778, allocations: 147.5 kB / 0.7906 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.007782, allocations: 1.906 kB / 0.7906 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.683e-06/0.007783, allocations: 0 / 0.7906 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.007788, allocations: 0 / 0.7906 GB, free: 8.945 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.0007292/0.008517, allocations: 497.7 kB / 0.791 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.008559, allocations: 14.34 kB / 0.7911 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.425e-05/0.008633, allocations: 20.84 kB / 0.7911 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/0.008976, allocations: 198.4 kB / 0.7913 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/0.009004, allocations: 8.375 kB / 0.7913 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.189e-05/0.009046, allocations: 8.375 kB / 0.7913 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.009187, allocations: 62.8 kB / 0.7913 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.009196, allocations: 1.844 kB / 0.7913 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.009209, allocations: 4.375 kB / 0.7913 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.288e-05/0.009242, allocations: 11.92 kB / 0.7914 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.843e-05/0.00933, allocations: 23.98 kB / 0.7914 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000548/0.009878, allocations: 400.7 kB / 0.7918 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.01002, allocations: 59.08 kB / 0.7918 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.068e-05/0.01006, allocations: 24.81 kB / 0.7918 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.515e-06/0.01007, allocations: 0 / 0.7918 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001125/0.01018, allocations: 76.97 kB / 0.7919 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.01018, allocations: 1.375 kB / 0.7919 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0002419/0.01042, allocations: 105.5 kB / 0.792 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.01046, allocations: 55.41 kB / 0.7921 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.01062, allocations: 228.3 kB / 0.7923 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.01064, allocations: 25.7 kB / 0.7923 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.054e-05/0.01072, allocations: 158.8 kB / 0.7925 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.157e-05/0.01076, allocations: 27.89 kB / 0.7925 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.591e-05/0.01083, allocations: 55.28 kB / 0.7925 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.01098, allocations: 0.493 MB / 0.793 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.01108, allocations: 73.62 kB / 0.7931 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.01118, allocations: 97.44 kB / 0.7932 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.01131, allocations: 106.8 kB / 0.7933 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.01132, allocations: 0 / 0.7933 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002969/0.01161, allocations: 212.8 kB / 0.7935 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.907e-05/0.01165, allocations: 42.08 kB / 0.7935 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.01166, allocations: 0 / 0.7935 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.01168, allocations: 0 / 0.7935 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.0118, allocations: 23.98 kB / 0.7936 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.01181, allocations: 0 / 0.7936 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001695/0.01198, allocations: 28.69 kB / 0.7936 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.961e-05/0.012, allocations: 8 kB / 0.7936 GB, free: 5.59 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.681e-05/0.01209, allocations: 170.6 kB / 0.7938 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.728e-05/0.01212, allocations: 23.83 kB / 0.7938 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.536e-05/0.01216, allocations: 17.47 kB / 0.7938 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.01216, allocations: 0 / 0.7938 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.01216, allocations: 0 / 0.7938 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.01217, allocations: 0.6562 kB / 0.7938 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.0123, allocations: 160.5 kB / 0.7939 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.0123, allocations: 4.906 kB / 0.794 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.884e-05/0.01236, allocations: 11.98 kB / 0.794 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.01236, allocations: 0.8438 kB / 0.794 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.01238, allocations: 0 / 0.794 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.01238, allocations: 1.281 kB / 0.794 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01238, allocations: 0 / 0.794 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002122/0.01259, allocations: 152.2 kB / 0.7941 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.559e-05/0.01264, allocations: 23.84 kB / 0.7941 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.167e-05/0.01266, allocations: 8.703 kB / 0.7941 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.218e-05/0.0127, allocations: 4.875 kB / 0.7941 GB, free: 4.961 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/0.01274, allocations: 7.969 kB / 0.7942 GB, free: 4.953 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.667e-06/0.01275, allocations: 4 kB / 0.7942 GB, free: 4.949 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001003/0.01285, allocations: 166.3 kB / 0.7943 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01285, allocations: 0 / 0.7943 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002381/0.01309, allocations: 32 kB / 0.7943 GB, free: 4.758 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.0001442/0.01323, allocations: 104.2 kB / 0.7944 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002364/0.01347, allocations: 172 kB / 0.7946 GB, free: 4.461 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.01347, allocations: 0 / 0.7946 GB, free: 4.461 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.452e-05/0.01352, allocations: 39.61 kB / 0.7946 GB, free: 4.418 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.01377, allocations: 33.62 kB / 0.7947 GB, free: 4.387 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004543/0.01423, allocations: 263.6 kB / 0.7949 GB, free: 4.098 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.287e-05/0.01427, allocations: 63.84 kB / 0.795 GB, free: 4.016 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.355e-05/0.01432, allocations: 19.05 kB / 0.795 GB, free: 3.996 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.724e-05/0.01436, allocations: 16.5 kB / 0.795 GB, free: 3.98 MB / 0.7448 GB Notification: Performance of SimCode: time 6.22e-07/0.01436, allocations: 0 / 0.795 GB, free: 3.98 MB / 0.7448 GB Notification: Performance of Templates: time 0.004977/0.01934, allocations: 2.138 MB / 0.7971 GB, free: 1.902 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.4736203802749515]