Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.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.001894/0.001894, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.002125/0.002125, allocations: 187.3 kB / 22.22 MB, free: 5.105 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.432/1.432, allocations: 225.6 MB / 251 MB, free: 13.25 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.639/2.639, 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.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_10_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_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 67.88 kB / 1.061 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8147/0.8167, allocations: 160.8 MB / 1.219 GB, free: 3.746 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.002069/0.8187, allocations: 0.5906 MB / 1.219 GB, free: 3.309 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007935/0.8195, allocations: 339.1 kB / 1.219 GB, free: 3.047 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.272e-05/0.8196, allocations: 0 / 1.219 GB, free: 3.047 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.366e-05/0.8196, allocations: 0 / 1.219 GB, free: 3.047 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.192e-06/0.8196, allocations: 4.875 kB / 1.219 GB, free: 3.043 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000622/0.8202, allocations: 106.9 kB / 1.22 GB, free: 2.98 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.175e-05/0.8203, allocations: 1.375 kB / 1.22 GB, free: 2.98 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.424e-05/0.8203, allocations: 5.359 kB / 1.22 GB, free: 2.977 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.169e-05/0.8203, allocations: 5.375 kB / 1.22 GB, free: 2.973 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.424e-05/0.8204, allocations: 0 / 1.22 GB, free: 2.973 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.8204, allocations: 0 / 1.22 GB, free: 2.973 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004896/0.8209, allocations: 274.6 kB / 1.22 GB, free: 2.82 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.19e-05/0.8209, allocations: 1.406 kB / 1.22 GB, free: 2.82 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.907e-05/0.8209, allocations: 3.938 kB / 1.22 GB, free: 2.816 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.8211, allocations: 90.41 kB / 1.22 GB, free: 2.762 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.8211, allocations: 0 / 1.22 GB, free: 2.762 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8211, allocations: 0 / 1.22 GB, free: 2.762 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.8211, allocations: 1.094 kB / 1.22 GB, free: 2.762 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003996/0.8215, allocations: 335.7 kB / 1.22 GB, free: 2.391 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.8216, allocations: 9.312 kB / 1.22 GB, free: 2.391 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.688e-05/0.8216, allocations: 8.875 kB / 1.22 GB, free: 2.383 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.8217, allocations: 161.7 kB / 1.22 GB, free: 2.188 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.8218, allocations: 4.359 kB / 1.22 GB, free: 2.184 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.196e-06/0.8218, allocations: 1.719 kB / 1.22 GB, free: 2.184 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.8219, allocations: 31.27 kB / 1.22 GB, free: 2.148 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.8219, allocations: 192 / 1.22 GB, free: 2.148 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.8219, allocations: 5.031 kB / 1.22 GB, free: 2.145 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.8219, allocations: 3.984 kB / 1.22 GB, free: 2.141 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.076e-05/0.8219, allocations: 5.281 kB / 1.22 GB, free: 2.137 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001684/0.8221, allocations: 142.9 kB / 1.221 GB, free: 1.949 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.523e-05/0.8221, allocations: 21.02 kB / 1.221 GB, free: 1.922 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.281e-05/0.8222, allocations: 10 kB / 1.221 GB, free: 1.91 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006048/0.8228, allocations: 432.4 kB / 1.221 GB, free: 1.418 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.8228, allocations: 31.66 kB / 1.221 GB, free: 1.379 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.8228, allocations: 0 / 1.221 GB, free: 1.379 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001795/0.823, allocations: 38.75 kB / 1.221 GB, free: 1.34 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.823, allocations: 52.53 kB / 1.221 GB, free: 1.277 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.592e-05/0.8231, allocations: 89.86 kB / 1.221 GB, free: 1.18 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.8231, allocations: 26.64 kB / 1.221 GB, free: 1.148 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/0.8231, allocations: 84.27 kB / 1.221 GB, free: 1.062 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/0.8232, allocations: 1.125 kB / 1.221 GB, free: 1.062 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.8232, allocations: 18.67 kB / 1.221 GB, free: 1.039 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.8233, allocations: 311.8 kB / 1.222 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.077e-05/0.8233, allocations: 1.219 kB / 1.222 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.437e-06/0.8234, allocations: 4.844 kB / 1.222 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.188e-05/0.8234, allocations: 7.953 kB / 1.222 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.8234, allocations: 64 / 1.222 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.004e-05/0.8235, allocations: 40.05 kB / 1.222 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.8235, allocations: 5.156 kB / 1.222 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.8235, allocations: 0 / 1.222 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.8235, allocations: 5 kB / 1.222 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.732e-05/0.8236, allocations: 4.922 kB / 1.222 GB, free: 0.668 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.8236, allocations: 5.219 kB / 1.222 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.175e-05/0.8236, allocations: 0 / 1.222 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.8236, allocations: 4.844 kB / 1.222 GB, free: 0.6602 MB / 0.92 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 8.831e-05/0.8237, allocations: 122.8 kB / 1.222 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.8237, allocations: 1.125 kB / 1.222 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.755e-05/0.8238, allocations: 45.03 kB / 1.222 GB, free: 500 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.8238, allocations: 1.312 kB / 1.222 GB, free: 500 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.8238, allocations: 0 / 1.222 GB, free: 500 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.8238, allocations: 0 / 1.222 GB, free: 500 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.8239, allocations: 150.8 kB / 1.222 GB, free: 300 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.8239, allocations: 0.875 kB / 1.222 GB, free: 300 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.683e-05/0.8239, allocations: 2.25 kB / 1.222 GB, free: 300 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.8239, allocations: 4.031 kB / 1.222 GB, free: 296 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.824, allocations: 5.344 kB / 1.222 GB, free: 292 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.824, allocations: 0 / 1.222 GB, free: 292 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.824, allocations: 3.984 kB / 1.222 GB, free: 288 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.576e-05/0.8241, allocations: 55.61 kB / 1.222 GB, free: 220 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.612e-05/0.8241, allocations: 81.11 kB / 1.222 GB, free: 120 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.8241, allocations: 5.031 kB / 1.222 GB, free: 116 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.536e-06/0.8241, allocations: 1.219 kB / 1.222 GB, free: 116 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.366e-05/0.8241, allocations: 8.016 kB / 1.222 GB, free: 108 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.8241, allocations: 1.281 kB / 1.222 GB, free: 108 kB / 0.92 GB Notification: Performance of sorting global known variables: time 3.521e-05/0.8242, allocations: 75.28 kB / 1.222 GB, free: 32 kB / 0.92 GB Notification: Performance of sort global known variables: time 7e-08/0.8242, allocations: 0 / 1.222 GB, free: 32 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002022/0.8244, allocations: 9.594 kB / 1.222 GB, free: 32 kB / 0.92 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.0002221/0.8246, allocations: 110 kB / 1.222 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.144e-05/0.8247, allocations: 4.75 kB / 1.222 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.8247, allocations: 4.062 kB / 1.222 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.691e-05/0.8247, allocations: 9.516 kB / 1.222 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.8248, allocations: 2 kB / 1.222 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002282/0.8251, allocations: 82.77 kB / 1.222 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.8254, allocations: 0.6702 MB / 1.223 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.838e-05/0.8254, allocations: 0.9375 kB / 1.223 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.535e-05/0.8254, allocations: 7.438 kB / 1.223 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of SimCode: time 4.71e-07/0.8254, allocations: 0.875 kB / 1.223 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of Templates: time 0.003225/0.8286, allocations: 471.5 kB / 1.224 GB, free: 14.88 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.410419271327555]