Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.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.0009742/0.0009742, allocations: 77.88 kB / 20.68 MB, free: 3.805 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.0009286/0.0009286, allocations: 181 kB / 24.09 MB, free: 408 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.9455/0.9455, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.811/1.811, allocations: 359 MB / 0.6055 GB, free: 10.86 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.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.7876 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.749e-05/1.917e-05, allocations: 3.125 kB / 0.7876 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002999/0.003018, allocations: 1.487 MB / 0.789 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007402/0.003758, allocations: 360.7 kB / 0.7894 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.823e-05/0.003806, allocations: 0 / 0.7894 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.304e-05/0.003839, allocations: 3.938 kB / 0.7894 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.628e-05/0.003896, allocations: 5.562 kB / 0.7894 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004702/0.004366, allocations: 119.6 kB / 0.7895 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.04e-05/0.004436, allocations: 33.08 kB / 0.7895 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.389e-05/0.00452, allocations: 3.984 kB / 0.7895 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.127e-05/0.004581, allocations: 11.94 kB / 0.7895 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.676e-05/0.004618, allocations: 12.61 kB / 0.7895 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.004634, allocations: 5.406 kB / 0.7895 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003578/0.004991, allocations: 255.7 kB / 0.7898 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.037e-05/0.005012, allocations: 7.969 kB / 0.7898 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.08e-05/0.005033, allocations: 8 kB / 0.7898 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002187/0.005251, allocations: 128.3 kB / 0.7899 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.005254, allocations: 0 / 0.7899 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.61e-07/0.005255, allocations: 4.906 kB / 0.7899 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.005259, allocations: 0 / 0.7899 GB, free: 9.754 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004018/0.005661, allocations: 385 kB / 0.7903 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.005709, allocations: 12.03 kB / 0.7903 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.129e-05/0.00578, allocations: 1.594 kB / 0.7903 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.589e-05/0.005866, allocations: 116.6 kB / 0.7904 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.005881, allocations: 3.812 kB / 0.7904 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-06/0.005891, allocations: 8.312 kB / 0.7904 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.006011, allocations: 50.94 kB / 0.7905 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-06/0.006018, allocations: 192 / 0.7905 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.076e-06/0.006026, allocations: 4.375 kB / 0.7905 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.006032, allocations: 384 / 0.7905 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.378e-05/0.006056, allocations: 3.938 kB / 0.7905 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002465/0.006303, allocations: 232.4 kB / 0.7907 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.114e-05/0.006354, allocations: 39.75 kB / 0.7907 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.613e-05/0.00637, allocations: 7.688 kB / 0.7908 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000347/0.006717, allocations: 86.8 kB / 0.7908 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.006742, allocations: 34.05 kB / 0.7909 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/0.006743, allocations: 1.344 kB / 0.7909 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001637/0.006907, allocations: 45.62 kB / 0.7909 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.006935, allocations: 51.41 kB / 0.791 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.865e-05/0.007013, allocations: 163.5 kB / 0.7911 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.007025, allocations: 29.7 kB / 0.7911 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.034e-05/0.007075, allocations: 138.8 kB / 0.7913 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/0.007092, allocations: 3.953 kB / 0.7913 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/0.007124, allocations: 20.72 kB / 0.7913 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.007259, allocations: 496.1 kB / 0.7918 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.239e-05/0.007271, allocations: 4 kB / 0.7918 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.261e-05/0.007284, allocations: 3.984 kB / 0.7918 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.84e-05/0.007312, allocations: 13.19 kB / 0.7918 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.007314, allocations: 0 / 0.7918 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.996e-05/0.007394, allocations: 42.23 kB / 0.7918 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.007409, allocations: 10.09 kB / 0.7918 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.007413, allocations: 0.875 kB / 0.7918 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.007425, allocations: 7.875 kB / 0.7919 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.102e-05/0.007486, allocations: 8.797 kB / 0.7919 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-06/0.007489, allocations: 0 / 0.7919 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.3e-05/0.007512, allocations: 7.938 kB / 0.7919 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.007517, allocations: 0.5312 kB / 0.7919 GB, free: 7.578 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 7.485e-05/0.007592, allocations: 158 kB / 0.792 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.237e-05/0.007624, allocations: 3.953 kB / 0.792 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.007728, allocations: 50.45 kB / 0.7921 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.007732, allocations: 3.938 kB / 0.7921 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.007735, allocations: 0 / 0.7921 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.007739, allocations: 0 / 0.7921 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.00786, allocations: 102 kB / 0.7922 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.007861, allocations: 0 / 0.7922 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.569e-05/0.007897, allocations: 4.656 kB / 0.7922 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.007899, allocations: 0.8125 kB / 0.7922 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.76e-06/0.007904, allocations: 7.938 kB / 0.7922 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.007905, allocations: 4.875 kB / 0.7922 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.007907, allocations: 3.984 kB / 0.7922 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/0.008024, allocations: 189.1 kB / 0.7924 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.177e-06/0.008033, allocations: 7.984 kB / 0.7924 GB, free: 7 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.127e-06/0.008043, allocations: 0 / 0.7924 GB, free: 7 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.164e-05/0.008094, allocations: 4.953 kB / 0.7924 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.029e-05/0.008125, allocations: 8 kB / 0.7924 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.008129, allocations: 3.938 kB / 0.7924 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.398e-05/0.008173, allocations: 129.5 kB / 0.7925 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.008173, allocations: 0 / 0.7925 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002212/0.008395, allocations: 12 kB / 0.7925 GB, free: 6.848 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001401/0.008535, allocations: 107.2 kB / 0.7926 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.609e-05/0.008611, allocations: 26.95 kB / 0.7927 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.008612, allocations: 0 / 0.7927 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.992e-05/0.008632, allocations: 11.69 kB / 0.7927 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002361/0.008868, allocations: 4 kB / 0.7927 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002407/0.009109, allocations: 114.3 kB / 0.7928 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.213e-05/0.009151, allocations: 59.3 kB / 0.7928 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.118e-05/0.009172, allocations: 4.984 kB / 0.7928 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.142e-05/0.009224, allocations: 70.2 kB / 0.7929 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of SimCode: time 7.51e-07/0.009225, allocations: 0.5 kB / 0.7929 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of Templates: time 0.002993/0.01222, allocations: 0.8508 MB / 0.7937 GB, free: 5.566 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_RegNonZeroPower.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.855516264680773]