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.001012/0.001012, allocations: 77.97 kB / 20.68 MB, free: 3.809 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.001625/0.001625, allocations: 177 kB / 24.08 MB, free: 416 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 1.035/1.035, 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 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.913/1.913, allocations: 377.9 MB / 0.624 GB, free: 8.387 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 2.334e-06/2.334e-06, allocations: 0 / 0.8121 GB, free: 1.359 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.753e-05/2.987e-05, allocations: 3.312 kB / 0.8121 GB, free: 1.355 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.002213/0.002242, allocations: 0.608 MB / 0.8127 GB, free: 0.7656 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.000749/0.002991, allocations: 312.5 kB / 0.813 GB, free: 472 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.371e-05/0.003025, allocations: 0 / 0.813 GB, free: 472 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.832e-05/0.003044, allocations: 0 / 0.813 GB, free: 472 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 2.495e-05/0.003068, allocations: 0 / 0.813 GB, free: 472 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005962/0.003665, allocations: 117.6 kB / 0.8131 GB, free: 356 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 5.733e-05/0.003722, allocations: 11.98 kB / 0.8131 GB, free: 344 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.211e-05/0.003764, allocations: 4.906 kB / 0.8131 GB, free: 340 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.584e-05/0.0038, allocations: 3.984 kB / 0.8131 GB, free: 336 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.543e-05/0.003865, allocations: 7.938 kB / 0.8131 GB, free: 328 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.003884, allocations: 0.6562 kB / 0.8131 GB, free: 328 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003985/0.004282, allocations: 256.2 kB / 0.8133 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.873e-05/0.004301, allocations: 7.969 kB / 0.8133 GB, free: 64 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.167e-05/0.004322, allocations: 5.25 kB / 0.8134 GB, free: 60 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0002466/0.004569, allocations: 115.8 kB / 0.8135 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.004573, allocations: 0 / 0.8135 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.482e-06/0.004575, allocations: 2.219 kB / 0.8135 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.004579, allocations: 0 / 0.8135 GB, free: 15.94 MB / 0.7761 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.0003732/0.004952, allocations: 372.1 kB / 0.8138 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.005001, allocations: 12.02 kB / 0.8138 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.261e-05/0.005073, allocations: 4.938 kB / 0.8138 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.113e-05/0.005165, allocations: 116.8 kB / 0.8139 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.005176, allocations: 1.125 kB / 0.814 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.005196, allocations: 4.359 kB / 0.814 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.983e-05/0.005296, allocations: 61.5 kB / 0.814 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.005304, allocations: 8.109 kB / 0.814 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.644e-06/0.005312, allocations: 384 / 0.814 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.005318, allocations: 1.469 kB / 0.814 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.364e-05/0.005331, allocations: 7.938 kB / 0.814 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001239/0.005455, allocations: 93.27 kB / 0.8141 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.777e-05/0.005503, allocations: 31.66 kB / 0.8141 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.698e-05/0.00552, allocations: 12.84 kB / 0.8142 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004511/0.005971, allocations: 85.94 kB / 0.8142 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.006007, allocations: 37.92 kB / 0.8143 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.543e-06/0.006008, allocations: 0.5312 kB / 0.8143 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0004424/0.00645, allocations: 179.5 kB / 0.8145 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/0.006477, allocations: 51.41 kB / 0.8145 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.973e-05/0.006557, allocations: 154.5 kB / 0.8146 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.006569, allocations: 27.08 kB / 0.8147 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003026/0.006872, allocations: 126.9 kB / 0.8148 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.0069, allocations: 15.91 kB / 0.8148 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.622e-05/0.006937, allocations: 27.34 kB / 0.8148 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.007066, allocations: 497.3 kB / 0.8153 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.609e-05/0.007082, allocations: 4 kB / 0.8153 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.703e-05/0.007109, allocations: 27.3 kB / 0.8153 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.006e-05/0.007159, allocations: 28.75 kB / 0.8154 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.00716, allocations: 0 / 0.8154 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001048/0.007265, allocations: 50.12 kB / 0.8154 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.007283, allocations: 5.438 kB / 0.8154 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.007288, allocations: 0 / 0.8154 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.007302, allocations: 0 / 0.8154 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.594e-05/0.007357, allocations: 8 kB / 0.8154 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.007361, allocations: 1.344 kB / 0.8154 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.152e-05/0.007382, allocations: 7.938 kB / 0.8154 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.007389, allocations: 4 kB / 0.8154 GB, free: 13.69 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 7.753e-05/0.007467, allocations: 161 kB / 0.8156 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.271e-05/0.0075, allocations: 4.688 kB / 0.8156 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001288/0.007628, allocations: 58.98 kB / 0.8157 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.007632, allocations: 4 kB / 0.8157 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.007634, allocations: 3.938 kB / 0.8157 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.007637, allocations: 0 / 0.8157 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.081e-05/0.007727, allocations: 102.1 kB / 0.8158 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.00773, allocations: 0 / 0.8158 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.233e-05/0.007782, allocations: 11.45 kB / 0.8158 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.007786, allocations: 4 kB / 0.8158 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-06/0.007791, allocations: 0 / 0.8158 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.007793, allocations: 0 / 0.8158 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.007794, allocations: 0 / 0.8158 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.007947, allocations: 96.44 kB / 0.8159 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.145e-06/0.007955, allocations: 4 kB / 0.8159 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.007966, allocations: 0 / 0.8159 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.226e-05/0.007999, allocations: 0 / 0.8159 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.573e-05/0.008014, allocations: 4.516 kB / 0.8159 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.008021, allocations: 4 kB / 0.8159 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.926e-05/0.00806, allocations: 121 kB / 0.816 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.00806, allocations: 0 / 0.816 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002447/0.008305, allocations: 23.94 kB / 0.816 GB, free: 13.04 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.0002373/0.008542, allocations: 134.5 kB / 0.8161 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.179e-05/0.008624, allocations: 24.52 kB / 0.8162 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.008626, allocations: 0 / 0.8162 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.587e-05/0.008642, allocations: 15.62 kB / 0.8162 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001526/0.008795, allocations: 4.594 kB / 0.8162 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002419/0.009037, allocations: 112.4 kB / 0.8163 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.446e-05/0.009071, allocations: 59.34 kB / 0.8164 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.468e-05/0.009106, allocations: 3.984 kB / 0.8164 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.688e-05/0.009163, allocations: 77.48 kB / 0.8164 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of SimCode: time 5.41e-07/0.009163, allocations: 0 / 0.8164 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of Templates: time 0.003634/0.0128, allocations: 1.032 MB / 0.8174 GB, free: 11.55 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.1072751372121274]