Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.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.001899/0.001899, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.001966/0.001966, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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.552/1.552, allocations: 177.1 MB / 203.9 MB, free: 5.316 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.108/3.108, allocations: 377.8 MB / 0.6232 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 0.8109 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.13e-05/3.32e-05, allocations: 3.219 kB / 0.8109 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.00242/0.002453, allocations: 0.5952 MB / 0.8114 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009504/0.003403, allocations: 299.5 kB / 0.8117 GB, free: 1.172 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.693e-05/0.00342, allocations: 0 / 0.8117 GB, free: 1.172 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.164e-05/0.003432, allocations: 0 / 0.8117 GB, free: 1.172 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.703e-06/0.003439, allocations: 0 / 0.8117 GB, free: 1.172 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005934/0.004032, allocations: 117 kB / 0.8118 GB, free: 1.059 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 4.39e-05/0.004076, allocations: 4.891 kB / 0.8118 GB, free: 1.055 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.184e-05/0.004108, allocations: 0 / 0.8118 GB, free: 1.055 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.288e-05/0.004141, allocations: 4 kB / 0.8118 GB, free: 1.051 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 2.822e-05/0.004169, allocations: 0.6562 kB / 0.8118 GB, free: 1.051 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.301e-05/0.004182, allocations: 0 / 0.8118 GB, free: 1.051 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006396/0.004821, allocations: 260.5 kB / 0.8121 GB, free: 0.7969 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.088e-05/0.004842, allocations: 0 / 0.8121 GB, free: 0.7969 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.622e-05/0.004859, allocations: 4.688 kB / 0.8121 GB, free: 0.793 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.000293/0.005152, allocations: 111.8 kB / 0.8122 GB, free: 0.6836 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.005155, allocations: 0.75 kB / 0.8122 GB, free: 0.6836 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.203e-06/0.005156, allocations: 0 / 0.8122 GB, free: 0.6836 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.00516, allocations: 1.25 kB / 0.8122 GB, free: 0.6836 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004943/0.005655, allocations: 360.1 kB / 0.8126 GB, free: 300 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.0057, allocations: 8.031 kB / 0.8126 GB, free: 292 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.005804, allocations: 8.938 kB / 0.8126 GB, free: 284 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.005932, allocations: 110.7 kB / 0.8127 GB, free: 148 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.005944, allocations: 384 / 0.8127 GB, free: 148 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.005955, allocations: 4.312 kB / 0.8127 GB, free: 144 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.817e-05/0.006044, allocations: 30.27 kB / 0.8127 GB, free: 108 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.006051, allocations: 192 / 0.8127 GB, free: 108 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-06/0.006059, allocations: 1.281 kB / 0.8127 GB, free: 108 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.006063, allocations: 384 / 0.8127 GB, free: 108 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.813e-05/0.006091, allocations: 9.531 kB / 0.8127 GB, free: 100 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002003/0.006291, allocations: 104.6 kB / 0.8128 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.944e-05/0.006371, allocations: 31.09 kB / 0.8128 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.387e-05/0.006405, allocations: 15.62 kB / 0.8129 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004508/0.006855, allocations: 63.2 kB / 0.8129 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.354e-05/0.006899, allocations: 33.39 kB / 0.813 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 1.223e-06/0.0069, allocations: 0 / 0.813 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0002006/0.007101, allocations: 33.7 kB / 0.813 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/0.00716, allocations: 52.41 kB / 0.813 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.007271, allocations: 142.2 kB / 0.8132 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/0.007299, allocations: 29.7 kB / 0.8132 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.34e-05/0.007383, allocations: 132.4 kB / 0.8133 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/0.007412, allocations: 0 / 0.8133 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.875e-05/0.007471, allocations: 23.36 kB / 0.8133 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0004144/0.007885, allocations: 496.1 kB / 0.8138 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.749e-05/0.007903, allocations: 4.469 kB / 0.8138 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.182e-05/0.007915, allocations: 4.688 kB / 0.8138 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.89e-05/0.007954, allocations: 8.219 kB / 0.8138 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.007956, allocations: 4.719 kB / 0.8138 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001044/0.00806, allocations: 33.7 kB / 0.8139 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.008078, allocations: 4.969 kB / 0.8139 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.008087, allocations: 4 kB / 0.8139 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.008105, allocations: 4.516 kB / 0.8139 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.689e-05/0.008152, allocations: 0 / 0.8139 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.008158, allocations: 1.375 kB / 0.8139 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.683e-05/0.008175, allocations: 3.938 kB / 0.8139 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.228e-06/0.008184, allocations: 7.938 kB / 0.8139 GB, free: 14.76 MB / 0.7761 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 (1): * Single equations (assignments): 1 * 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.0001409/0.008325, allocations: 153.8 kB / 0.814 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.653e-05/0.008362, allocations: 3.953 kB / 0.8141 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001393/0.008501, allocations: 45.28 kB / 0.8141 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.008504, allocations: 0.7812 kB / 0.8141 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.008508, allocations: 0 / 0.8141 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.008511, allocations: 0.8438 kB / 0.8141 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.008662, allocations: 108.6 kB / 0.8142 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.008664, allocations: 0 / 0.8142 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.433e-05/0.008688, allocations: 8.906 kB / 0.8142 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.00869, allocations: 0 / 0.8142 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.605e-06/0.008698, allocations: 1.344 kB / 0.8142 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.0087, allocations: 0 / 0.8142 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.008701, allocations: 0 / 0.8142 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001723/0.008873, allocations: 76.97 kB / 0.8143 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.238e-05/0.008885, allocations: 8 kB / 0.8143 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.008898, allocations: 0.5312 kB / 0.8143 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.198e-05/0.00891, allocations: 1.906 kB / 0.8143 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.997e-05/0.00893, allocations: 0 / 0.8143 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.008933, allocations: 0 / 0.8143 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.915e-05/0.009022, allocations: 119.2 kB / 0.8144 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.6e-07/0.009022, allocations: 3.938 kB / 0.8144 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003606/0.009383, allocations: 19.92 kB / 0.8144 GB, free: 14.16 MB / 0.7761 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 (1): * Single equations (assignments): 1 * 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.0002908/0.009674, allocations: 108.1 kB / 0.8145 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001066/0.00978, allocations: 15.12 kB / 0.8145 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.009783, allocations: 0 / 0.8145 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.187e-05/0.009815, allocations: 15.62 kB / 0.8146 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.01002, allocations: 7.984 kB / 0.8146 GB, free: 14 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002908/0.01031, allocations: 83.95 kB / 0.8146 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.606e-05/0.01039, allocations: 51.36 kB / 0.8147 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.226e-05/0.01042, allocations: 8.609 kB / 0.8147 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.294e-05/0.01045, allocations: 9 kB / 0.8147 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of SimCode: time 6.11e-07/0.01045, allocations: 0 / 0.8147 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of Templates: time 0.00468/0.01513, allocations: 489.5 kB / 0.8152 GB, free: 13.34 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.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: 7.983226679963991]