Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower.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.001499/0.001499, 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.00112/0.00112, 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 1.024/1.024, allocations: 177.1 MB / 204.6 MB, free: 5.492 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.896/1.896, allocations: 377.9 MB / 0.624 GB, free: 8.363 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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.223e-05/2.345e-05, allocations: 6.031 kB / 0.76 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.001946/0.001969, allocations: 1.512 MB / 0.7615 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0005478/0.002517, allocations: 373.6 kB / 0.7619 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.091e-05/0.002548, allocations: 0 / 0.7619 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.566e-05/0.002574, allocations: 0 / 0.7619 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.573e-05/0.00262, allocations: 6.344 kB / 0.7619 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003474/0.002967, allocations: 117.8 kB / 0.762 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.029e-05/0.003027, allocations: 21.95 kB / 0.762 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.597e-05/0.003103, allocations: 11.98 kB / 0.762 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.629e-05/0.003159, allocations: 14.27 kB / 0.762 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.624e-05/0.003196, allocations: 5.203 kB / 0.762 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.00321, allocations: 4 kB / 0.762 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002489/0.003459, allocations: 260.7 kB / 0.7623 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.649e-05/0.003475, allocations: 0.875 kB / 0.7623 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.551e-05/0.003491, allocations: 9.344 kB / 0.7623 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.003666, allocations: 133.2 kB / 0.7624 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.003668, allocations: 2.438 kB / 0.7624 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.82e-07/0.003669, allocations: 0 / 0.7624 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.046e-06/0.003672, allocations: 0 / 0.7624 GB, free: 4.219 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002848/0.003957, allocations: 265.6 kB / 0.7627 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.003989, allocations: 8.031 kB / 0.7627 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.9e-05/0.004048, allocations: 10.14 kB / 0.7627 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.367e-05/0.004122, allocations: 105.8 kB / 0.7628 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.004131, allocations: 384 / 0.7628 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.004142, allocations: 6.438 kB / 0.7628 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.939e-05/0.004231, allocations: 46.95 kB / 0.7628 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.211e-06/0.004237, allocations: 192 / 0.7628 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.6e-06/0.004243, allocations: 384 / 0.7628 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.004248, allocations: 5.031 kB / 0.7628 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.109e-05/0.004269, allocations: 16.59 kB / 0.7629 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001962/0.004465, allocations: 148.3 kB / 0.763 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.147e-05/0.004507, allocations: 27.47 kB / 0.763 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.138e-05/0.004518, allocations: 4.859 kB / 0.763 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002549/0.004773, allocations: 80.81 kB / 0.7631 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.004793, allocations: 34.56 kB / 0.7631 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.004794, allocations: 3.938 kB / 0.7631 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001121/0.004906, allocations: 38.22 kB / 0.7632 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.655e-05/0.004932, allocations: 56.25 kB / 0.7632 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.931e-05/0.004982, allocations: 106.7 kB / 0.7633 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.666e-06/0.00499, allocations: 26.23 kB / 0.7634 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.789e-05/0.005018, allocations: 88.84 kB / 0.7634 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.522e-05/0.005033, allocations: 7.891 kB / 0.7635 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.179e-05/0.005055, allocations: 19.56 kB / 0.7635 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.587e-05/0.005131, allocations: 314.8 kB / 0.7638 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.807e-06/0.00514, allocations: 4 kB / 0.7638 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.765e-06/0.005148, allocations: 0 / 0.7638 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.409e-05/0.005172, allocations: 19.53 kB / 0.7638 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.005175, allocations: 4 kB / 0.7638 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.563e-05/0.00523, allocations: 33.69 kB / 0.7638 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.005242, allocations: 10.34 kB / 0.7638 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.005246, allocations: 0 / 0.7638 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.005257, allocations: 0 / 0.7638 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.897e-05/0.005306, allocations: 8.188 kB / 0.7638 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-06/0.005309, allocations: 1.75 kB / 0.7638 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.576e-05/0.005324, allocations: 8 kB / 0.7639 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-06/0.005328, allocations: 0 / 0.7639 GB, free: 2.602 MB / 0.7136 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 (2): * Single equations (assignments): 2 * 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.397e-05/0.005382, allocations: 113.8 kB / 0.764 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.167e-05/0.005403, allocations: 4.938 kB / 0.764 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.169e-05/0.005465, allocations: 45.25 kB / 0.764 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.005467, allocations: 0.8125 kB / 0.764 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.005469, allocations: 3.938 kB / 0.764 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.005472, allocations: 0.5 kB / 0.764 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.857e-05/0.005551, allocations: 68.95 kB / 0.7641 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.005552, allocations: 0 / 0.7641 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.952e-05/0.005571, allocations: 8 kB / 0.7641 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.005572, allocations: 0 / 0.7641 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.898e-06/0.005576, allocations: 0 / 0.7641 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.41e-07/0.005576, allocations: 0 / 0.7641 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.005577, allocations: 0 / 0.7641 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.518e-05/0.005653, allocations: 143.4 kB / 0.7642 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.033e-06/0.00566, allocations: 14.39 kB / 0.7642 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.034e-06/0.005667, allocations: 0 / 0.7642 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.872e-05/0.005695, allocations: 7.984 kB / 0.7642 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.386e-05/0.005719, allocations: 0 / 0.7642 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.005721, allocations: 0 / 0.7642 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.165e-05/0.005733, allocations: 12.8 kB / 0.7643 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005733, allocations: 0 / 0.7643 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001253/0.005858, allocations: 21.23 kB / 0.7643 GB, free: 2.121 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001318/0.00599, allocations: 96.3 kB / 0.7644 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.503e-05/0.006045, allocations: 13.72 kB / 0.7644 GB, free: 2.004 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.006048, allocations: 1.156 kB / 0.7644 GB, free: 2.004 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-05/0.006061, allocations: 12.8 kB / 0.7644 GB, free: 1.988 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001253/0.006186, allocations: 7.375 kB / 0.7644 GB, free: 1.984 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002076/0.006394, allocations: 112.6 kB / 0.7645 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.108e-05/0.006425, allocations: 59.34 kB / 0.7646 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.365e-05/0.006439, allocations: 0 / 0.7646 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.478e-05/0.006473, allocations: 51.38 kB / 0.7646 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of SimCode: time 4.81e-07/0.006474, allocations: 0 / 0.7646 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of Templates: time 0.002391/0.008865, allocations: 0.7906 MB / 0.7654 GB, free: 0.9609 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_RegNonZeroPower.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.004740064032376]