Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002389/0.002389, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002852/0.002852, allocations: 169.6 kB / 22.76 MB, free: 1.664 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 1.602/1.602, allocations: 177.1 MB / 203.1 MB, free: 5.262 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.511/3.511, allocations: 429.5 MB / 0.6729 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 0.8774 GB, free: 5.512 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.446e-05/2.575e-05, allocations: 3.062 kB / 0.8775 GB, free: 5.508 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002704/0.00273, allocations: 1.463 MB / 0.8789 GB, free: 4.059 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0007988/0.003529, allocations: 379.6 kB / 0.8792 GB, free: 3.691 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.877e-05/0.003558, allocations: 1.344 kB / 0.8792 GB, free: 3.691 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.328e-05/0.003581, allocations: 4.594 kB / 0.8792 GB, free: 3.688 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.077e-05/0.003632, allocations: 5.406 kB / 0.8793 GB, free: 3.684 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004222/0.004054, allocations: 114.3 kB / 0.8794 GB, free: 3.574 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 9.004e-05/0.004144, allocations: 30.28 kB / 0.8794 GB, free: 3.547 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 7.593e-05/0.00422, allocations: 0 / 0.8794 GB, free: 3.547 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 7.326e-05/0.004293, allocations: 23.91 kB / 0.8794 GB, free: 3.523 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.045e-05/0.004334, allocations: 7.984 kB / 0.8794 GB, free: 3.516 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.004352, allocations: 4 kB / 0.8794 GB, free: 3.512 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004175/0.00477, allocations: 261.8 kB / 0.8797 GB, free: 3.258 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.338e-05/0.004783, allocations: 0 / 0.8797 GB, free: 3.258 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.633e-05/0.00481, allocations: 15.92 kB / 0.8797 GB, free: 3.242 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0002584/0.005068, allocations: 135.6 kB / 0.8798 GB, free: 3.109 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.005071, allocations: 0 / 0.8798 GB, free: 3.109 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.142e-06/0.005072, allocations: 0 / 0.8798 GB, free: 3.109 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.266e-05/0.005085, allocations: 2.312 kB / 0.8798 GB, free: 3.109 MB / 0.7917 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.0005445/0.00563, allocations: 384 kB / 0.8802 GB, free: 2.695 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.005666, allocations: 8.031 kB / 0.8802 GB, free: 2.688 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.527e-05/0.005752, allocations: 8.891 kB / 0.8802 GB, free: 2.68 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.005873, allocations: 116.5 kB / 0.8803 GB, free: 2.539 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.005888, allocations: 4.375 kB / 0.8803 GB, free: 2.535 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.875e-06/0.005896, allocations: 1.094 kB / 0.8803 GB, free: 2.535 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.006051, allocations: 47.84 kB / 0.8804 GB, free: 2.484 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.006061, allocations: 192 / 0.8804 GB, free: 2.484 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.006069, allocations: 384 / 0.8804 GB, free: 2.484 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.006076, allocations: 8.312 kB / 0.8804 GB, free: 2.477 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.006198, allocations: 25.27 kB / 0.8804 GB, free: 2.453 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003758/0.006573, allocations: 251.8 kB / 0.8806 GB, free: 2.172 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.006692, allocations: 39.05 kB / 0.8807 GB, free: 2.121 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.628e-05/0.006758, allocations: 23.75 kB / 0.8807 GB, free: 2.094 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005308/0.007289, allocations: 79.86 kB / 0.8808 GB, free: 2.016 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.007326, allocations: 33.39 kB / 0.8808 GB, free: 1.973 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.007327, allocations: 4 kB / 0.8808 GB, free: 1.969 MB / 0.7917 GB Notification: Performance of matching and sorting (n=2): time 0.0003182/0.007645, allocations: 77.56 kB / 0.8809 GB, free: 1.887 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.007687, allocations: 51.41 kB / 0.8809 GB, free: 1.824 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.007815, allocations: 165.9 kB / 0.8811 GB, free: 1.645 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.007834, allocations: 25.7 kB / 0.8811 GB, free: 1.613 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 8.533e-05/0.007919, allocations: 134.9 kB / 0.8812 GB, free: 1.477 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 1.571e-05/0.007935, allocations: 3.953 kB / 0.8812 GB, free: 1.473 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.194e-05/0.007987, allocations: 23.36 kB / 0.8813 GB, free: 1.441 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002485/0.008235, allocations: 496.1 kB / 0.8817 GB, free: 0.9453 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.351e-05/0.008289, allocations: 12.12 kB / 0.8818 GB, free: 0.9336 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.103e-05/0.00834, allocations: 19.92 kB / 0.8818 GB, free: 0.9141 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.929e-05/0.008439, allocations: 27.67 kB / 0.8818 GB, free: 0.8828 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.008441, allocations: 4 kB / 0.8818 GB, free: 0.8789 MB / 0.7917 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001568/0.008598, allocations: 53.69 kB / 0.8819 GB, free: 0.8203 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.008611, allocations: 4 kB / 0.8819 GB, free: 0.8164 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.008619, allocations: 7.922 kB / 0.8819 GB, free: 0.8086 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.008631, allocations: 4.094 kB / 0.8819 GB, free: 0.8047 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.348e-05/0.008695, allocations: 4.25 kB / 0.8819 GB, free: 0.8008 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.008699, allocations: 0 / 0.8819 GB, free: 0.8008 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.555e-05/0.008734, allocations: 12 kB / 0.8819 GB, free: 0.7891 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-06/0.008739, allocations: 0 / 0.8819 GB, free: 0.7891 MB / 0.7917 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 0.0001079/0.008847, allocations: 160.5 kB / 0.882 GB, free: 0.6211 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.012e-05/0.008897, allocations: 7.938 kB / 0.882 GB, free: 0.6133 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001846/0.009082, allocations: 65.25 kB / 0.8821 GB, free: 0.543 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.009086, allocations: 3.984 kB / 0.8821 GB, free: 0.5391 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.009089, allocations: 4.031 kB / 0.8821 GB, free: 0.5352 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.009091, allocations: 0 / 0.8821 GB, free: 0.5352 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003743/0.009466, allocations: 120.6 kB / 0.8822 GB, free: 392 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.009466, allocations: 0 / 0.8822 GB, free: 392 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.356e-05/0.00951, allocations: 7.984 kB / 0.8822 GB, free: 384 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.009511, allocations: 0 / 0.8822 GB, free: 384 kB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.009518, allocations: 0 / 0.8822 GB, free: 384 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.009522, allocations: 7.938 kB / 0.8822 GB, free: 376 kB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.009522, allocations: 0 / 0.8822 GB, free: 376 kB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002528/0.009775, allocations: 211.9 kB / 0.8824 GB, free: 144 kB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 8.626e-06/0.009784, allocations: 3.953 kB / 0.8825 GB, free: 140 kB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.009795, allocations: 4 kB / 0.8825 GB, free: 136 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.873e-05/0.009854, allocations: 3.938 kB / 0.8825 GB, free: 132 kB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.923e-05/0.009903, allocations: 7.984 kB / 0.8825 GB, free: 124 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.009909, allocations: 3.984 kB / 0.8825 GB, free: 120 kB / 0.7917 GB Notification: Performance of sorting global known variables: time 8.968e-05/0.009998, allocations: 127.2 kB / 0.8826 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7.1e-08/0.009998, allocations: 0 / 0.8826 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002256/0.01022, allocations: 15.94 kB / 0.8826 GB, free: 15.98 MB / 0.8073 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.0001976/0.01042, allocations: 111.8 kB / 0.8827 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001775/0.0106, allocations: 47.64 kB / 0.8828 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.0106, allocations: 0 / 0.8828 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.521e-05/0.01067, allocations: 19.67 kB / 0.8828 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.01091, allocations: 4 kB / 0.8828 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003121/0.01122, allocations: 126.3 kB / 0.8829 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.14e-05/0.01129, allocations: 63.34 kB / 0.883 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.569e-05/0.01132, allocations: 4.125 kB / 0.883 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.582e-05/0.01134, allocations: 8.5 kB / 0.883 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of SimCode: time 4.41e-07/0.01134, allocations: 0 / 0.883 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of Templates: time 0.003624/0.01497, allocations: 0.7661 MB / 0.8837 GB, free: 14.78 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_RegNonZeroPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.625172158936039]