Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.0009845/0.0009845, 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.001023/0.001023, allocations: 169 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 0.9333/0.9333, allocations: 177.1 MB / 204.2 MB, free: 5.297 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.868/1.868, allocations: 377.8 MB / 0.6236 GB, free: 8.574 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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.113e-06/1.113e-06, allocations: 0 / 0.8116 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.376e-05/1.487e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.691 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001282/0.001297, allocations: 0.6104 MB / 0.8122 GB, free: 1.102 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.000815/0.002112, allocations: 312 kB / 0.8125 GB, free: 0.7969 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.641e-05/0.002138, allocations: 0 / 0.8125 GB, free: 0.7969 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.099e-05/0.002159, allocations: 4.906 kB / 0.8125 GB, free: 0.793 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 1.925e-05/0.002178, allocations: 0 / 0.8125 GB, free: 0.793 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007164/0.002895, allocations: 117.3 kB / 0.8126 GB, free: 0.6797 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 5.115e-05/0.002946, allocations: 19.92 kB / 0.8126 GB, free: 0.6602 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.78e-05/0.002984, allocations: 0.7188 kB / 0.8126 GB, free: 0.6602 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 2.728e-05/0.003011, allocations: 4 kB / 0.8126 GB, free: 0.6562 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.36e-05/0.003065, allocations: 4.984 kB / 0.8126 GB, free: 0.6523 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.003079, allocations: 0 / 0.8126 GB, free: 0.6523 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003189/0.003397, allocations: 259.6 kB / 0.8129 GB, free: 408 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.436e-05/0.003412, allocations: 4.875 kB / 0.8129 GB, free: 404 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.553e-05/0.003427, allocations: 3.938 kB / 0.8129 GB, free: 400 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.003613, allocations: 128.8 kB / 0.813 GB, free: 272 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.003615, allocations: 0 / 0.813 GB, free: 272 kB / 0.7605 GB Notification: Performance of FrontEnd: time 6.11e-07/0.003616, allocations: 0 / 0.813 GB, free: 272 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.003619, allocations: 0 / 0.813 GB, free: 272 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000382/0.004001, allocations: 365.7 kB / 0.8134 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.004042, allocations: 12.03 kB / 0.8134 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.742e-05/0.004119, allocations: 0.9375 kB / 0.8134 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.262e-05/0.004202, allocations: 116.9 kB / 0.8135 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.004212, allocations: 1.781 kB / 0.8135 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.004239, allocations: 8.328 kB / 0.8135 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.99e-05/0.004329, allocations: 59.91 kB / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.004335, allocations: 4.969 kB / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.004344, allocations: 384 / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.004352, allocations: 1.062 kB / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.617e-05/0.004368, allocations: 3.938 kB / 0.8136 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001259/0.004494, allocations: 117.9 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.525e-05/0.004539, allocations: 27.09 kB / 0.8137 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.785e-05/0.004557, allocations: 17.59 kB / 0.8137 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003899/0.004947, allocations: 85.36 kB / 0.8138 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.004975, allocations: 37.94 kB / 0.8138 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.004976, allocations: 0 / 0.8138 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0004831/0.005459, allocations: 179.8 kB / 0.814 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.005485, allocations: 55.34 kB / 0.8141 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.066e-05/0.005556, allocations: 162.4 kB / 0.8142 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.748e-06/0.005565, allocations: 25.7 kB / 0.8142 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.973e-05/0.005605, allocations: 127.5 kB / 0.8144 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.005628, allocations: 13.88 kB / 0.8144 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-05/0.005661, allocations: 23.36 kB / 0.8144 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002441/0.005905, allocations: 496.1 kB / 0.8149 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.537e-05/0.005921, allocations: 8 kB / 0.8149 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.422e-05/0.005945, allocations: 19.38 kB / 0.8149 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.489e-05/0.00599, allocations: 36.55 kB / 0.8149 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.005991, allocations: 0 / 0.8149 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.7e-05/0.006078, allocations: 46.98 kB / 0.815 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.006091, allocations: 7.938 kB / 0.815 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.006097, allocations: 3.984 kB / 0.815 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.006111, allocations: 0.625 kB / 0.815 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.735e-05/0.006168, allocations: 9.125 kB / 0.815 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.006174, allocations: 3.938 kB / 0.815 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.399e-05/0.006188, allocations: 0 / 0.815 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.006195, allocations: 4.812 kB / 0.815 GB, free: 13.99 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.818e-05/0.006254, allocations: 152.6 kB / 0.8152 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.006278, allocations: 12.89 kB / 0.8152 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.857e-05/0.006376, allocations: 58.83 kB / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.006378, allocations: 0 / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.006381, allocations: 3.938 kB / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.006384, allocations: 4.844 kB / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.664e-05/0.006451, allocations: 108.6 kB / 0.8153 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-06/0.006452, allocations: 0 / 0.8153 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.989e-05/0.006492, allocations: 10.3 kB / 0.8153 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.006494, allocations: 0 / 0.8153 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.006501, allocations: 4 kB / 0.8154 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.006503, allocations: 4 kB / 0.8154 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.006505, allocations: 3.984 kB / 0.8154 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001125/0.006618, allocations: 88.38 kB / 0.8154 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.489e-06/0.006622, allocations: 3.438 kB / 0.8154 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.688e-06/0.006632, allocations: 0 / 0.8154 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.044e-05/0.006652, allocations: 4 kB / 0.8154 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.509e-05/0.006667, allocations: 7.922 kB / 0.8155 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.006671, allocations: 0 / 0.8155 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.331e-05/0.006705, allocations: 131.1 kB / 0.8156 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.006705, allocations: 0 / 0.8156 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002154/0.00692, allocations: 27.94 kB / 0.8156 GB, free: 13.31 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0001504/0.00707, allocations: 128.3 kB / 0.8157 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.631e-05/0.007147, allocations: 20.2 kB / 0.8158 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.007149, allocations: 4 kB / 0.8158 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.599e-05/0.007165, allocations: 20.22 kB / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/0.007294, allocations: 3.25 kB / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002052/0.007499, allocations: 113.3 kB / 0.8159 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.07e-05/0.00753, allocations: 59.34 kB / 0.8159 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.159e-05/0.007552, allocations: 1.344 kB / 0.8159 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.945e-05/0.007571, allocations: 13.59 kB / 0.816 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of SimCode: time 4.61e-07/0.007571, allocations: 0 / 0.816 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of Templates: time 0.002641/0.01021, allocations: 0.9061 MB / 0.8168 GB, free: 12.02 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.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.149951070081443]