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.0009621/0.0009621, 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.001102/0.001102, allocations: 165 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.8795/0.8795, 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.849/1.849, allocations: 377.8 MB / 0.6236 GB, free: 8.559 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.493e-06/1.493e-06, allocations: 0 / 0.8116 GB, free: 1.656 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.454e-05/2.603e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.652 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001221/0.001247, allocations: 0.6188 MB / 0.8122 GB, free: 1.055 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0005035/0.001751, allocations: 321.2 kB / 0.8125 GB, free: 0.7422 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.326e-05/0.001774, allocations: 0 / 0.8125 GB, free: 0.7422 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.992e-05/0.001794, allocations: 0 / 0.8125 GB, free: 0.7422 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 2.352e-05/0.001818, allocations: 3.938 kB / 0.8125 GB, free: 0.7383 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.000405/0.002223, allocations: 113.6 kB / 0.8126 GB, free: 0.6289 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 5.164e-05/0.002274, allocations: 8 kB / 0.8126 GB, free: 0.6211 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.488e-05/0.002309, allocations: 7.984 kB / 0.8126 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 2.71e-05/0.002336, allocations: 3.938 kB / 0.8126 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.402e-05/0.00239, allocations: 5.344 kB / 0.8126 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.002405, allocations: 0 / 0.8126 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002525/0.002658, allocations: 263.6 kB / 0.8129 GB, free: 356 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.312e-05/0.002671, allocations: 0.5312 kB / 0.8129 GB, free: 356 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.675e-05/0.002687, allocations: 4 kB / 0.8129 GB, free: 352 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.002856, allocations: 124.5 kB / 0.813 GB, free: 228 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.002859, allocations: 0 / 0.813 GB, free: 228 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.433e-06/0.00286, allocations: 4.75 kB / 0.813 GB, free: 224 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.002867, allocations: 0 / 0.813 GB, free: 224 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.0003361/0.003203, allocations: 376.6 kB / 0.8134 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.003243, allocations: 8.031 kB / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.211e-05/0.003325, allocations: 6.312 kB / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.539e-05/0.00341, allocations: 108.9 kB / 0.8135 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.003423, allocations: 4.375 kB / 0.8135 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.003442, allocations: 1.531 kB / 0.8135 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.476e-05/0.003537, allocations: 63.95 kB / 0.8136 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.003544, allocations: 0.9688 kB / 0.8136 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.003553, allocations: 384 / 0.8136 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.003561, allocations: 384 / 0.8136 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.355e-05/0.003574, allocations: 8.531 kB / 0.8136 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001167/0.003691, allocations: 117.3 kB / 0.8137 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.606e-05/0.003737, allocations: 32.27 kB / 0.8137 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.525e-05/0.003752, allocations: 11.69 kB / 0.8137 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003498/0.004102, allocations: 86.41 kB / 0.8138 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.004125, allocations: 34.42 kB / 0.8138 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.004126, allocations: 4 kB / 0.8138 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0004202/0.004547, allocations: 177.1 kB / 0.814 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.004575, allocations: 55.41 kB / 0.8141 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.445e-05/0.00464, allocations: 157.9 kB / 0.8142 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.004651, allocations: 29.69 kB / 0.8142 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.244e-05/0.004684, allocations: 130.9 kB / 0.8144 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.004706, allocations: 7.906 kB / 0.8144 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.139e-05/0.004737, allocations: 23.38 kB / 0.8144 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.004845, allocations: 492.6 kB / 0.8149 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.421e-05/0.004859, allocations: 13.86 kB / 0.8149 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.377e-05/0.004883, allocations: 23.38 kB / 0.8149 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.688e-05/0.00492, allocations: 27.38 kB / 0.8149 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.004921, allocations: 0 / 0.8149 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.509e-05/0.004996, allocations: 55.03 kB / 0.815 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.005009, allocations: 8 kB / 0.815 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.005013, allocations: 1.188 kB / 0.815 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.005025, allocations: 0 / 0.815 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.309e-05/0.005079, allocations: 4 kB / 0.815 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.005084, allocations: 12.41 kB / 0.815 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.116e-05/0.005095, allocations: 0 / 0.815 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.005101, allocations: 0.9062 kB / 0.815 GB, free: 13.94 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 6.29e-05/0.005164, allocations: 164.5 kB / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.662e-05/0.005181, allocations: 8.797 kB / 0.8152 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.005283, allocations: 54.59 kB / 0.8152 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.005284, allocations: 0 / 0.8152 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.005289, allocations: 4 kB / 0.8152 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.005293, allocations: 8.656 kB / 0.8152 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.353e-05/0.005357, allocations: 108.6 kB / 0.8153 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.005358, allocations: 6.312 kB / 0.8154 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.968e-05/0.005398, allocations: 4 kB / 0.8154 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.005399, allocations: 0 / 0.8154 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.005405, allocations: 0 / 0.8154 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.005406, allocations: 0 / 0.8154 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.005408, allocations: 3.984 kB / 0.8154 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001055/0.005514, allocations: 99.33 kB / 0.8155 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.74e-06/0.00552, allocations: 4 kB / 0.8155 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.676e-06/0.005528, allocations: 0 / 0.8155 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.722e-05/0.005545, allocations: 0 / 0.8155 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.505e-05/0.005561, allocations: 4 kB / 0.8155 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.005564, allocations: 0 / 0.8155 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.102e-05/0.005595, allocations: 127.1 kB / 0.8156 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.005595, allocations: 0.9375 kB / 0.8156 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001482/0.005743, allocations: 27.94 kB / 0.8156 GB, free: 13.26 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.0001593/0.005902, allocations: 128.3 kB / 0.8157 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.086e-05/0.005983, allocations: 23.62 kB / 0.8158 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.005985, allocations: 1.125 kB / 0.8158 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.384e-05/0.005999, allocations: 19.91 kB / 0.8158 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001094/0.006108, allocations: 5.031 kB / 0.8158 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002235/0.006332, allocations: 106.4 kB / 0.8159 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.656e-05/0.006358, allocations: 55.36 kB / 0.8159 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.565e-05/0.006384, allocations: 13.22 kB / 0.8159 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.667e-05/0.0064, allocations: 12.94 kB / 0.816 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of SimCode: time 3.91e-07/0.006401, allocations: 0.9688 kB / 0.816 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of Templates: time 0.00297/0.009371, allocations: 1.003 MB / 0.8169 GB, free: 11.86 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.023560022935271]