Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.0009714/0.0009714, allocations: 83.59 kB / 20.45 MB, free: 4.109 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.0009185/0.0009185, allocations: 165 kB / 23.82 MB, free: 0.7383 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.8887/0.8887, allocations: 177.1 MB / 204.2 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.822/1.822, allocations: 377.8 MB / 0.6236 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.8116 GB, free: 1.641 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.766e-05/1.899e-05, allocations: 3.25 kB / 0.8116 GB, free: 1.637 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.00112/0.001139, allocations: 0.6353 MB / 0.8122 GB, free: 1.023 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0005286/0.001667, allocations: 331.9 kB / 0.8125 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.753e-05/0.001695, allocations: 0 / 0.8125 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.583e-05/0.001721, allocations: 5.719 kB / 0.8125 GB, free: 0.6953 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.263e-05/0.001753, allocations: 0 / 0.8125 GB, free: 0.6953 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003935/0.002147, allocations: 120.3 kB / 0.8127 GB, free: 0.5781 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 5.893e-05/0.002206, allocations: 23.92 kB / 0.8127 GB, free: 0.5547 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.608e-05/0.002242, allocations: 0.6875 kB / 0.8127 GB, free: 0.5547 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 5.08e-05/0.002293, allocations: 19.97 kB / 0.8127 GB, free: 0.5352 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.749e-05/0.00234, allocations: 9.328 kB / 0.8127 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.002354, allocations: 0 / 0.8127 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002553/0.00261, allocations: 263.6 kB / 0.813 GB, free: 276 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.697e-05/0.002627, allocations: 11.92 kB / 0.813 GB, free: 264 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.937e-05/0.002646, allocations: 8.688 kB / 0.813 GB, free: 256 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.002818, allocations: 124.6 kB / 0.8131 GB, free: 132 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.00282, allocations: 0 / 0.8131 GB, free: 132 kB / 0.7605 GB Notification: Performance of FrontEnd: time 5.31e-07/0.00282, allocations: 0 / 0.8131 GB, free: 132 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.002824, allocations: 4.656 kB / 0.8131 GB, free: 128 kB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003533/0.003177, allocations: 389.4 kB / 0.8135 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.003214, allocations: 12.03 kB / 0.8135 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.084e-05/0.003295, allocations: 8.875 kB / 0.8135 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.246e-05/0.003368, allocations: 109.2 kB / 0.8136 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.003378, allocations: 4.375 kB / 0.8136 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.0034, allocations: 13.02 kB / 0.8136 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.003502, allocations: 94.91 kB / 0.8137 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.003512, allocations: 4.141 kB / 0.8137 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.003522, allocations: 4.375 kB / 0.8137 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.003528, allocations: 384 / 0.8137 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.376e-05/0.003562, allocations: 22.06 kB / 0.8137 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001374/0.003699, allocations: 128.6 kB / 0.8139 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.0038, allocations: 62.98 kB / 0.8139 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.369e-05/0.003834, allocations: 23.67 kB / 0.8139 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003106/0.004145, allocations: 79.77 kB / 0.814 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.004169, allocations: 41.39 kB / 0.8141 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.004171, allocations: 0 / 0.8141 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.0008185/0.004989, allocations: 461.5 kB / 0.8145 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.005019, allocations: 56.91 kB / 0.8145 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.14e-05/0.00508, allocations: 153.9 kB / 0.8147 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.005092, allocations: 29.7 kB / 0.8147 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.147e-05/0.005124, allocations: 130.9 kB / 0.8148 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.277e-05/0.005156, allocations: 40.16 kB / 0.8149 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.632e-05/0.005193, allocations: 39.95 kB / 0.8149 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.992e-05/0.005293, allocations: 496.1 kB / 0.8154 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.599e-05/0.005319, allocations: 16.52 kB / 0.8154 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.28e-05/0.005341, allocations: 20.77 kB / 0.8154 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.737e-05/0.005399, allocations: 41.56 kB / 0.8155 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.0054, allocations: 0.9062 kB / 0.8155 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001104/0.00551, allocations: 105.6 kB / 0.8156 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.005522, allocations: 4.531 kB / 0.8156 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.005526, allocations: 0 / 0.8156 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.005537, allocations: 5.312 kB / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-05/0.005613, allocations: 20 kB / 0.8156 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.005618, allocations: 0 / 0.8156 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.24e-05/0.005631, allocations: 0 / 0.8156 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.005639, allocations: 9.266 kB / 0.8156 GB, free: 13.3 MB / 0.7761 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 (13): * Single equations (assignments): 13 * 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 5.97e-05/0.005698, allocations: 156.6 kB / 0.8158 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.005721, allocations: 24.48 kB / 0.8158 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001207/0.005842, allocations: 90.11 kB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.005844, allocations: 4.656 kB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.005848, allocations: 0 / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.005852, allocations: 4.891 kB / 0.8159 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002721/0.006124, allocations: 341.3 kB / 0.8162 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.006125, allocations: 0.8438 kB / 0.8162 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.912e-05/0.006194, allocations: 19.98 kB / 0.8162 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.006198, allocations: 7.938 kB / 0.8162 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.006206, allocations: 5.344 kB / 0.8162 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.006207, allocations: 0 / 0.8162 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.006208, allocations: 0 / 0.8162 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001795/0.006387, allocations: 259.4 kB / 0.8165 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.793e-05/0.006405, allocations: 8.578 kB / 0.8165 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.006418, allocations: 15.86 kB / 0.8165 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.782e-05/0.006455, allocations: 5.812 kB / 0.8165 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.861e-05/0.006474, allocations: 7.984 kB / 0.8165 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.006479, allocations: 0 / 0.8165 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.276e-05/0.006511, allocations: 127.2 kB / 0.8166 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.1e-08/0.006512, allocations: 0 / 0.8166 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001896/0.006701, allocations: 36.81 kB / 0.8167 GB, free: 12.14 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0001611/0.006862, allocations: 154.6 kB / 0.8168 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001063/0.006969, allocations: 63.59 kB / 0.8169 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.00697, allocations: 0 / 0.8169 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.983e-05/0.007, allocations: 32.11 kB / 0.8169 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001499/0.00715, allocations: 12.25 kB / 0.8169 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002625/0.007412, allocations: 182.1 kB / 0.8171 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.34e-05/0.007446, allocations: 59.34 kB / 0.8172 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.221e-05/0.007488, allocations: 22.28 kB / 0.8172 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.443e-05/0.007512, allocations: 16.48 kB / 0.8172 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of SimCode: time 4.41e-07/0.007513, allocations: 0 / 0.8172 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of Templates: time 0.003412/0.01092, allocations: 1.579 MB / 0.8187 GB, free: 10.01 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.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.914033139124513]