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.001796/0.001796, allocations: 88.72 kB / 19.44 MB, free: 356 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.002432/0.002432, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.559/1.559, allocations: 177.1 MB / 203.1 MB, free: 5.586 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.145/3.145, allocations: 429.6 MB / 0.673 GB, free: 3.875 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.413e-06/1.413e-06, allocations: 0 / 0.8776 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.609e-05/2.75e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002804/0.002832, allocations: 1.472 MB / 0.879 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009617/0.003794, allocations: 355.4 kB / 0.8794 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.634e-05/0.00383, allocations: 0 / 0.8794 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.711e-05/0.003867, allocations: 5.094 kB / 0.8794 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.323e-05/0.00393, allocations: 15.91 kB / 0.8794 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005387/0.004469, allocations: 109.6 kB / 0.8795 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.42e-05/0.004563, allocations: 27.92 kB / 0.8795 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.015e-05/0.004653, allocations: 0 / 0.8795 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.584e-05/0.004729, allocations: 25.05 kB / 0.8795 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.679e-05/0.004776, allocations: 11.92 kB / 0.8795 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.004794, allocations: 0 / 0.8795 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004962/0.00529, allocations: 260.7 kB / 0.8798 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.131e-05/0.005311, allocations: 4 kB / 0.8798 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.258e-05/0.005344, allocations: 7.984 kB / 0.8798 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002885/0.005632, allocations: 132.3 kB / 0.8799 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.005636, allocations: 0 / 0.8799 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.363e-06/0.005638, allocations: 1.594 kB / 0.8799 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.005647, allocations: 3.984 kB / 0.8799 GB, free: 4.109 MB / 0.8386 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.0006028/0.00625, allocations: 286 kB / 0.8802 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.006297, allocations: 12.97 kB / 0.8802 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.214e-05/0.006389, allocations: 4.891 kB / 0.8802 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.00651, allocations: 113.8 kB / 0.8803 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.006522, allocations: 1.469 kB / 0.8803 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.006533, allocations: 4.375 kB / 0.8803 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.006715, allocations: 54.77 kB / 0.8804 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.006725, allocations: 4.172 kB / 0.8804 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.006733, allocations: 1.031 kB / 0.8804 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.006737, allocations: 1.938 kB / 0.8804 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001881/0.006926, allocations: 39.89 kB / 0.8804 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003495/0.007275, allocations: 192.6 kB / 0.8806 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.007421, allocations: 41.75 kB / 0.8807 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.83e-05/0.00752, allocations: 24.91 kB / 0.8807 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005653/0.008085, allocations: 82.75 kB / 0.8808 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.00812, allocations: 34.56 kB / 0.8808 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.00812, allocations: 0 / 0.8808 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0004039/0.008524, allocations: 90.62 kB / 0.8809 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.008571, allocations: 59.53 kB / 0.8809 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.698e-05/0.008668, allocations: 105.8 kB / 0.881 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.00869, allocations: 33.64 kB / 0.8811 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.565e-05/0.008746, allocations: 80.14 kB / 0.8812 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/0.008763, allocations: 7.891 kB / 0.8812 GB, free: 2.719 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-05/0.008799, allocations: 17.72 kB / 0.8812 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.008963, allocations: 310.8 kB / 0.8815 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.443e-05/0.009057, allocations: 23.97 kB / 0.8815 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.9e-05/0.009136, allocations: 11.98 kB / 0.8815 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.009294, allocations: 44.89 kB / 0.8815 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.009295, allocations: 0 / 0.8815 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002181/0.009514, allocations: 65.66 kB / 0.8816 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.009527, allocations: 4 kB / 0.8816 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.009534, allocations: 7.938 kB / 0.8816 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.009549, allocations: 0 / 0.8816 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.512e-05/0.009634, allocations: 15.95 kB / 0.8816 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.009638, allocations: 0 / 0.8816 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.197e-05/0.00969, allocations: 7.953 kB / 0.8816 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-06/0.0097, allocations: 7.984 kB / 0.8817 GB, free: 2.188 MB / 0.8386 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 9.059e-05/0.009791, allocations: 109.8 kB / 0.8818 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.077e-05/0.009831, allocations: 4 kB / 0.8818 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002643/0.0101, allocations: 77.22 kB / 0.8818 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.0101, allocations: 4.031 kB / 0.8818 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.0101, allocations: 0 / 0.8818 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.0101, allocations: 0 / 0.8818 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.01025, allocations: 101.3 kB / 0.8819 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.01025, allocations: 0 / 0.8819 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.473e-05/0.01032, allocations: 15.98 kB / 0.882 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.01032, allocations: 0 / 0.882 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.01032, allocations: 0 / 0.882 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.01033, allocations: 3.938 kB / 0.882 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.01033, allocations: 3.938 kB / 0.882 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002938/0.01062, allocations: 167.5 kB / 0.8821 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.217e-06/0.01063, allocations: 3.938 kB / 0.8821 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.01064, allocations: 4 kB / 0.8821 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.582e-05/0.01073, allocations: 15.92 kB / 0.8821 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.01076, allocations: 0 / 0.8821 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.01077, allocations: 0 / 0.8821 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.969e-05/0.01083, allocations: 91.45 kB / 0.8822 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.01083, allocations: 0 / 0.8822 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002521/0.01108, allocations: 20 kB / 0.8822 GB, free: 1.52 MB / 0.8386 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.0001863/0.01126, allocations: 107.2 kB / 0.8824 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003655/0.01163, allocations: 43.89 kB / 0.8824 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.01163, allocations: 0 / 0.8824 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.1e-05/0.01172, allocations: 19.98 kB / 0.8824 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/0.01201, allocations: 6.344 kB / 0.8824 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003061/0.01232, allocations: 116.7 kB / 0.8825 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.786e-05/0.01238, allocations: 59.34 kB / 0.8826 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.568e-05/0.01241, allocations: 4 kB / 0.8826 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.708e-05/0.01244, allocations: 8.5 kB / 0.8826 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of SimCode: time 3.61e-07/0.01244, allocations: 0 / 0.8826 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of Templates: time 0.003461/0.0159, allocations: 0.7665 MB / 0.8833 GB, free: 348 kB / 0.8386 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 800] 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.122745234984905]