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.001328/0.001328, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001485/0.001485, allocations: 161 kB / 24.17 MB, free: 332 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.9888/0.9888, allocations: 177.2 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.859/1.859, allocations: 377.9 MB / 0.624 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.924e-06/1.924e-06, allocations: 0 / 0.7601 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.44e-05/2.632e-05, allocations: 3.188 kB / 0.7601 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001256/0.001282, allocations: 0.627 MB / 0.7607 GB, free: 5.98 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0004748/0.001757, allocations: 323.5 kB / 0.761 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.062e-05/0.001778, allocations: 0 / 0.761 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.324e-05/0.001791, allocations: 0 / 0.761 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.099e-05/0.001812, allocations: 2.578 kB / 0.761 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003964/0.002208, allocations: 112.4 kB / 0.7611 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 4.484e-05/0.002253, allocations: 13.39 kB / 0.7611 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.481e-05/0.002288, allocations: 5.172 kB / 0.7611 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.166e-05/0.002319, allocations: 4.656 kB / 0.7611 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.034e-05/0.00237, allocations: 0.9844 kB / 0.7611 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.002384, allocations: 5.375 kB / 0.7611 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002583/0.002642, allocations: 255.6 kB / 0.7614 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.525e-05/0.002658, allocations: 8.641 kB / 0.7614 GB, free: 5.277 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.098e-05/0.002669, allocations: 0 / 0.7614 GB, free: 5.277 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001575/0.002826, allocations: 117.6 kB / 0.7615 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.205e-06/0.002828, allocations: 1.344 kB / 0.7615 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.82e-07/0.002829, allocations: 0 / 0.7615 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.002834, allocations: 3.984 kB / 0.7615 GB, free: 5.16 MB / 0.7136 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.0002467/0.003081, allocations: 257.4 kB / 0.7617 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.003112, allocations: 9.5 kB / 0.7618 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.746e-05/0.00317, allocations: 4.938 kB / 0.7618 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.82e-05/0.003238, allocations: 105.7 kB / 0.7619 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.003246, allocations: 384 / 0.7619 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.003264, allocations: 5.625 kB / 0.7619 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.642e-05/0.00333, allocations: 59.95 kB / 0.7619 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.801e-06/0.003336, allocations: 2.094 kB / 0.7619 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.11e-06/0.003341, allocations: 384 / 0.7619 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.003346, allocations: 384 / 0.7619 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.338e-06/0.003355, allocations: 7.938 kB / 0.7619 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.1e-05/0.003436, allocations: 57.98 kB / 0.762 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.769e-05/0.003474, allocations: 31.06 kB / 0.762 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.096e-05/0.003485, allocations: 10.08 kB / 0.762 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002808/0.003766, allocations: 70.59 kB / 0.7621 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.003787, allocations: 39.3 kB / 0.7621 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.803e-06/0.003789, allocations: 0.75 kB / 0.7621 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0003897/0.004179, allocations: 175.2 kB / 0.7623 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.004206, allocations: 53.59 kB / 0.7624 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.013e-05/0.004257, allocations: 98.72 kB / 0.7624 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.004267, allocations: 25.7 kB / 0.7625 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.268e-05/0.00429, allocations: 84.12 kB / 0.7626 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.004312, allocations: 11.94 kB / 0.7626 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.272e-05/0.004334, allocations: 15.53 kB / 0.7626 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.177e-05/0.004406, allocations: 318.8 kB / 0.7629 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.434e-06/0.004413, allocations: 0 / 0.7629 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.902e-05/0.004432, allocations: 25.62 kB / 0.7629 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.965e-05/0.004462, allocations: 20.97 kB / 0.7629 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-06/0.004463, allocations: 0.875 kB / 0.7629 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.645e-05/0.00453, allocations: 49.62 kB / 0.763 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.004544, allocations: 8 kB / 0.763 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.00455, allocations: 0 / 0.763 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.004562, allocations: 0 / 0.763 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.007e-05/0.004602, allocations: 6.984 kB / 0.763 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.187e-06/0.004606, allocations: 7.984 kB / 0.763 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.879e-06/0.004616, allocations: 0 / 0.763 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.004623, allocations: 4.922 kB / 0.763 GB, free: 3.449 MB / 0.7136 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.67e-05/0.004679, allocations: 113.8 kB / 0.7631 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.85e-05/0.004698, allocations: 3.984 kB / 0.7631 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.359e-05/0.004782, allocations: 54.73 kB / 0.7632 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.004784, allocations: 0 / 0.7632 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.004787, allocations: 8 kB / 0.7632 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.004792, allocations: 3.984 kB / 0.7632 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.498e-05/0.004847, allocations: 67.38 kB / 0.7632 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.004848, allocations: 0 / 0.7632 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.315e-05/0.004881, allocations: 4.766 kB / 0.7632 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.21e-07/0.004882, allocations: 0 / 0.7632 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.608e-06/0.004886, allocations: 1.281 kB / 0.7632 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.004887, allocations: 0 / 0.7632 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.004887, allocations: 0 / 0.7632 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.859e-05/0.004976, allocations: 85.59 kB / 0.7633 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.38e-06/0.004981, allocations: 0 / 0.7633 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.153e-06/0.004989, allocations: 1.531 kB / 0.7633 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.523e-05/0.005004, allocations: 4 kB / 0.7633 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.116e-05/0.005015, allocations: 0.6562 kB / 0.7633 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.005019, allocations: 4.734 kB / 0.7633 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.157e-06/0.005028, allocations: 8.859 kB / 0.7633 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.005028, allocations: 2.812 kB / 0.7634 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001222/0.005151, allocations: 23.94 kB / 0.7634 GB, free: 3.023 MB / 0.7136 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.0001384/0.005289, allocations: 109.4 kB / 0.7635 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.331e-05/0.005342, allocations: 16.84 kB / 0.7635 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.005345, allocations: 0 / 0.7635 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.478e-06/0.005354, allocations: 19.91 kB / 0.7635 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.039e-05/0.005415, allocations: 11.94 kB / 0.7635 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001687/0.005583, allocations: 104.2 kB / 0.7636 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.515e-05/0.005608, allocations: 55.36 kB / 0.7637 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.298e-05/0.005631, allocations: 4 kB / 0.7637 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.77e-05/0.005669, allocations: 57.5 kB / 0.7637 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of SimCode: time 5.61e-07/0.00567, allocations: 0 / 0.7637 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of Templates: time 0.002634/0.008303, allocations: 1.031 MB / 0.7647 GB, free: 1.613 MB / 0.7136 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: 4.989063329063356]