Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002314/0.002314, 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.002794/0.002794, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.543/1.543, allocations: 177.1 MB / 203.9 MB, free: 5.617 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.039/3.039, allocations: 377.9 MB / 0.6232 GB, free: 8.504 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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.8108 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.652e-05/2.833e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.00273/0.002759, allocations: 1.471 MB / 0.8123 GB, free: 0.6172 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008504/0.003609, allocations: 357.2 kB / 0.8126 GB, free: 276 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.965e-05/0.003639, allocations: 1.688 kB / 0.8126 GB, free: 276 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.516e-05/0.003664, allocations: 3.938 kB / 0.8126 GB, free: 272 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.955e-05/0.003723, allocations: 3.938 kB / 0.8126 GB, free: 268 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004399/0.004163, allocations: 124.9 kB / 0.8127 GB, free: 144 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.036e-05/0.004234, allocations: 23.92 kB / 0.8128 GB, free: 120 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 7.694e-05/0.00431, allocations: 9.125 kB / 0.8128 GB, free: 112 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 6.739e-05/0.004378, allocations: 15.92 kB / 0.8128 GB, free: 96 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.132e-05/0.004419, allocations: 11.98 kB / 0.8128 GB, free: 84 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.004436, allocations: 1.594 kB / 0.8128 GB, free: 84 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004515/0.004887, allocations: 259.6 kB / 0.813 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.607e-05/0.004903, allocations: 4 kB / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.51e-05/0.004928, allocations: 7.922 kB / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000337/0.005265, allocations: 131.7 kB / 0.8132 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.00527, allocations: 4.719 kB / 0.8132 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.01e-07/0.00527, allocations: 0.5312 kB / 0.8132 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.005277, allocations: 4 kB / 0.8132 GB, free: 15.68 MB / 0.7761 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.000529/0.005806, allocations: 385.6 kB / 0.8136 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.005844, allocations: 8.031 kB / 0.8136 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.791e-05/0.005922, allocations: 4.938 kB / 0.8136 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.006041, allocations: 116.6 kB / 0.8137 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.006057, allocations: 5.016 kB / 0.8137 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.795e-06/0.006064, allocations: 384 / 0.8137 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.006205, allocations: 51.19 kB / 0.8137 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.006213, allocations: 192 / 0.8137 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-06/0.006222, allocations: 1.531 kB / 0.8137 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.006226, allocations: 384 / 0.8137 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.006345, allocations: 27.92 kB / 0.8138 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003591/0.006705, allocations: 257.2 kB / 0.814 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.006824, allocations: 43 kB / 0.814 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.469e-05/0.006889, allocations: 21.48 kB / 0.8141 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005188/0.007407, allocations: 78.39 kB / 0.8141 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/0.007444, allocations: 33.39 kB / 0.8142 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.007445, allocations: 0 / 0.8142 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0003225/0.007767, allocations: 71.42 kB / 0.8142 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.007809, allocations: 55.41 kB / 0.8143 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.007938, allocations: 165.9 kB / 0.8145 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.007958, allocations: 30.17 kB / 0.8145 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.09e-05/0.008039, allocations: 134.8 kB / 0.8146 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/0.008059, allocations: 8.516 kB / 0.8146 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.454e-05/0.008103, allocations: 25.14 kB / 0.8146 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002503/0.008353, allocations: 496.1 kB / 0.8151 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.846e-05/0.008412, allocations: 12 kB / 0.8151 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.402e-05/0.008456, allocations: 7.984 kB / 0.8151 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.008573, allocations: 38.27 kB / 0.8152 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.008575, allocations: 0 / 0.8152 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001602/0.008735, allocations: 53.69 kB / 0.8152 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.00875, allocations: 4 kB / 0.8152 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.008756, allocations: 5.062 kB / 0.8152 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.00877, allocations: 7.984 kB / 0.8152 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.604e-05/0.008836, allocations: 7.938 kB / 0.8152 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.00884, allocations: 0.7812 kB / 0.8152 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.233e-05/0.008873, allocations: 4 kB / 0.8152 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.728e-06/0.008877, allocations: 0.8125 kB / 0.8152 GB, free: 13.38 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 (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.0001043/0.008982, allocations: 153.4 kB / 0.8154 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.399e-05/0.009026, allocations: 11.98 kB / 0.8154 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001806/0.009206, allocations: 71.19 kB / 0.8155 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.009208, allocations: 0 / 0.8155 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.882e-06/0.009215, allocations: 4 kB / 0.8155 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.00922, allocations: 3.984 kB / 0.8155 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.00937, allocations: 113.3 kB / 0.8156 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.009371, allocations: 4 kB / 0.8156 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.625e-05/0.009427, allocations: 12.95 kB / 0.8156 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.009429, allocations: 0 / 0.8156 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.009438, allocations: 5.062 kB / 0.8156 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.009442, allocations: 7.875 kB / 0.8156 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.009443, allocations: 0 / 0.8156 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/0.009689, allocations: 201 kB / 0.8158 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.07e-05/0.0097, allocations: 7.922 kB / 0.8158 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.009712, allocations: 1.125 kB / 0.8158 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.411e-05/0.009776, allocations: 7.938 kB / 0.8158 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/0.009812, allocations: 4 kB / 0.8158 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.009815, allocations: 0.7812 kB / 0.8158 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.46e-05/0.00989, allocations: 131.2 kB / 0.816 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.00989, allocations: 1.906 kB / 0.816 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002238/0.01011, allocations: 16 kB / 0.816 GB, free: 12.57 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 (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.0001841/0.0103, allocations: 111.2 kB / 0.8161 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001788/0.01048, allocations: 36.95 kB / 0.8161 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.01048, allocations: 0 / 0.8161 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.722e-05/0.01055, allocations: 24.41 kB / 0.8161 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.01077, allocations: 8.641 kB / 0.8161 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002831/0.01106, allocations: 125.9 kB / 0.8163 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.469e-05/0.01112, allocations: 59.34 kB / 0.8163 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.481e-05/0.01115, allocations: 7.984 kB / 0.8163 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.561e-05/0.01117, allocations: 8.5 kB / 0.8163 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of SimCode: time 5.51e-07/0.01117, allocations: 0 / 0.8163 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of Templates: time 0.003587/0.01476, allocations: 0.7524 MB / 0.8171 GB, free: 11.4 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_RegNonZeroPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.003734902013093]