Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 188.2 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.612/2.612, allocations: 443.4 MB / 0.7321 GB, free: 12.32 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 59.89 kB / 1.061 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.852/0.8539, allocations: 160.8 MB / 1.218 GB, free: 3.668 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002964/0.8568, allocations: 1.455 MB / 1.22 GB, free: 2.531 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007824/0.8576, allocations: 392.9 kB / 1.22 GB, free: 2.227 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.787e-05/0.8576, allocations: 0 / 1.22 GB, free: 2.227 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.912e-05/0.8577, allocations: 5.25 kB / 1.22 GB, free: 2.223 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.804e-05/0.8577, allocations: 3.938 kB / 1.22 GB, free: 2.219 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004865/0.8582, allocations: 116.6 kB / 1.22 GB, free: 2.148 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.613e-05/0.8583, allocations: 22.23 kB / 1.22 GB, free: 2.137 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.636e-05/0.8584, allocations: 6.469 kB / 1.22 GB, free: 2.133 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.407e-05/0.8584, allocations: 20.09 kB / 1.22 GB, free: 2.117 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.629e-05/0.8585, allocations: 14.36 kB / 1.22 GB, free: 2.105 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.8585, allocations: 2.469 kB / 1.22 GB, free: 2.105 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004138/0.8589, allocations: 276.3 kB / 1.221 GB, free: 1.953 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.205e-05/0.8589, allocations: 0.9375 kB / 1.221 GB, free: 1.953 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.969e-05/0.859, allocations: 10.09 kB / 1.221 GB, free: 1.945 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.8592, allocations: 122.3 kB / 1.221 GB, free: 1.863 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.8592, allocations: 1.156 kB / 1.221 GB, free: 1.863 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8592, allocations: 3.938 kB / 1.221 GB, free: 1.859 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.8592, allocations: 0 / 1.221 GB, free: 1.859 MB / 0.92 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.0005256/0.8597, allocations: 374.9 kB / 1.221 GB, free: 1.461 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.8598, allocations: 9.938 kB / 1.221 GB, free: 1.461 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.746e-05/0.8598, allocations: 7.125 kB / 1.221 GB, free: 1.457 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.86, allocations: 161.4 kB / 1.221 GB, free: 1.262 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.86, allocations: 1.562 kB / 1.221 GB, free: 1.262 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.286e-06/0.86, allocations: 1.281 kB / 1.221 GB, free: 1.262 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.8602, allocations: 50.83 kB / 1.221 GB, free: 1.219 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.8602, allocations: 192 / 1.221 GB, free: 1.219 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.8602, allocations: 3.938 kB / 1.221 GB, free: 1.215 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.8602, allocations: 0.9062 kB / 1.221 GB, free: 1.215 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.8604, allocations: 42.64 kB / 1.221 GB, free: 1.191 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004148/0.8608, allocations: 254.8 kB / 1.222 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.8609, allocations: 46.95 kB / 1.222 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.107e-05/0.861, allocations: 18.53 kB / 1.222 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007431/0.8617, allocations: 464.2 kB / 1.222 GB, free: 356 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.8618, allocations: 31.69 kB / 1.222 GB, free: 316 kB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.8618, allocations: 4 kB / 1.222 GB, free: 312 kB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003607/0.8621, allocations: 86.39 kB / 1.222 GB, free: 252 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/0.8622, allocations: 51.41 kB / 1.222 GB, free: 188 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.522e-05/0.8623, allocations: 101.4 kB / 1.222 GB, free: 84 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.8623, allocations: 27.17 kB / 1.222 GB, free: 52 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.533e-05/0.8624, allocations: 85.91 kB / 1.223 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/0.8624, allocations: 12.08 kB / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.148e-05/0.8625, allocations: 12.75 kB / 1.223 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.8626, allocations: 310.8 kB / 1.223 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.367e-05/0.8627, allocations: 21.47 kB / 1.223 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.765e-05/0.8628, allocations: 13.89 kB / 1.223 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001615/0.8629, allocations: 48.58 kB / 1.223 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.8629, allocations: 0 / 1.223 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002031/0.8631, allocations: 69.75 kB / 1.223 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.8631, allocations: 5.656 kB / 1.223 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.8631, allocations: 0 / 1.223 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.8632, allocations: 0 / 1.223 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.436e-05/0.8632, allocations: 10.3 kB / 1.223 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.8633, allocations: 1.312 kB / 1.223 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.532e-05/0.8633, allocations: 11.42 kB / 1.223 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.8633, allocations: 5.094 kB / 1.223 GB, free: 15.51 MB / 0.9356 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.0001011/0.8634, allocations: 127.8 kB / 1.223 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.614e-05/0.8634, allocations: 1.125 kB / 1.223 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002426/0.8637, allocations: 77.12 kB / 1.223 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.8637, allocations: 3.938 kB / 1.223 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.8637, allocations: 4.031 kB / 1.223 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.8637, allocations: 1.062 kB / 1.223 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.8639, allocations: 162.7 kB / 1.223 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.8639, allocations: 0 / 1.223 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.692e-05/0.8639, allocations: 10.11 kB / 1.223 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.8639, allocations: 5.031 kB / 1.223 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-06/0.8639, allocations: 0 / 1.223 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.8639, allocations: 0.9375 kB / 1.223 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.8639, allocations: 0 / 1.223 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002691/0.8642, allocations: 172.2 kB / 1.224 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.79e-05/0.8643, allocations: 82.25 kB / 1.224 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.8643, allocations: 1.312 kB / 1.224 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.04e-05/0.8644, allocations: 11.81 kB / 1.224 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.345e-05/0.8644, allocations: 1.062 kB / 1.224 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.8644, allocations: 0.9688 kB / 1.224 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.25e-05/0.8644, allocations: 87.91 kB / 1.224 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.8644, allocations: 0 / 1.224 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002386/0.8647, allocations: 20.45 kB / 1.224 GB, free: 14.75 MB / 0.9356 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.0001911/0.8649, allocations: 101.5 kB / 1.224 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002192/0.8651, allocations: 38.14 kB / 1.224 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.8651, allocations: 0 / 1.224 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.405e-05/0.8652, allocations: 27.95 kB / 1.224 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.8655, allocations: 7.656 kB / 1.224 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003108/0.8658, allocations: 107.6 kB / 1.224 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.8661, allocations: 0.6776 MB / 1.225 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.205e-05/0.8661, allocations: 2.219 kB / 1.225 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.272e-05/0.8662, allocations: 8.625 kB / 1.225 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of SimCode: time 3.1e-07/0.8662, allocations: 4.062 kB / 1.225 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of Templates: time 0.003604/0.8698, allocations: 0.7254 MB / 1.225 GB, free: 13.43 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_RegNonZeroPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.513611097820103]