Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.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.001683/0.001683, allocations: 78.72 kB / 19.76 MB, free: 1.875 MB / 14.72 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.001444/0.001444, allocations: 158.4 kB / 23.01 MB, free: 4.602 MB / 14.72 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.413/1.413, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.764/2.764, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|TExact",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|TExact",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002208/0.002208, allocations: 59.91 kB / 0.982 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8383/0.8405, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001504/0.842, allocations: 0.5973 MB / 1.155 GB, free: 32.98 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0002661/0.8423, allocations: 84.95 kB / 1.155 GB, free: 32.93 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.668e-05/0.8423, allocations: 0 / 1.155 GB, free: 32.93 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 1.17e-05/0.8423, allocations: 0 / 1.155 GB, free: 32.93 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 4.43e-05/0.8424, allocations: 3.938 kB / 1.155 GB, free: 32.92 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000194/0.8426, allocations: 17.03 kB / 1.155 GB, free: 32.91 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 4.745e-05/0.8426, allocations: 9.375 kB / 1.155 GB, free: 32.91 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.851e-05/0.8427, allocations: 2.719 kB / 1.155 GB, free: 32.91 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 1.54e-05/0.8427, allocations: 2.531 kB / 1.155 GB, free: 32.91 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 6.845e-05/0.8427, allocations: 6.422 kB / 1.155 GB, free: 32.91 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.8427, allocations: 0 / 1.155 GB, free: 32.91 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 5.582e-05/0.8428, allocations: 19.62 kB / 1.155 GB, free: 32.9 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.288e-05/0.8428, allocations: 3.938 kB / 1.155 GB, free: 32.89 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 1.742e-05/0.8428, allocations: 5.781 kB / 1.155 GB, free: 32.89 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 8.168e-05/0.8429, allocations: 23.88 kB / 1.155 GB, free: 32.88 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.8429, allocations: 0 / 1.155 GB, free: 32.88 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8429, allocations: 4 kB / 1.155 GB, free: 32.88 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.8429, allocations: 0 / 1.155 GB, free: 32.88 MB / 1.076 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.000273/0.8432, allocations: 246.2 kB / 1.155 GB, free: 32.62 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/0.8432, allocations: 8.062 kB / 1.155 GB, free: 32.62 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000149/0.8434, allocations: 13.72 kB / 1.155 GB, free: 32.62 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.701e-05/0.8434, allocations: 102.5 kB / 1.155 GB, free: 32.49 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.8434, allocations: 3.156 kB / 1.155 GB, free: 32.49 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.823e-06/0.8435, allocations: 384 / 1.155 GB, free: 32.49 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.8436, allocations: 42.27 kB / 1.155 GB, free: 32.46 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.8436, allocations: 8.125 kB / 1.155 GB, free: 32.45 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.8436, allocations: 10.86 kB / 1.155 GB, free: 32.44 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.8436, allocations: 0 / 1.155 GB, free: 32.44 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.343e-05/0.8437, allocations: 12.73 kB / 1.155 GB, free: 32.44 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.858e-05/0.8438, allocations: 105.5 kB / 1.155 GB, free: 32.31 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.8439, allocations: 38.64 kB / 1.155 GB, free: 32.29 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.276e-05/0.844, allocations: 11.42 kB / 1.155 GB, free: 32.27 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.844, allocations: 3.031 kB / 1.155 GB, free: 32.27 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.844, allocations: 38.56 kB / 1.155 GB, free: 32.23 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.844, allocations: 0 / 1.155 GB, free: 32.23 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.0002072/0.8442, allocations: 64.33 kB / 1.155 GB, free: 32.18 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.383e-05/0.8442, allocations: 54.92 kB / 1.155 GB, free: 32.12 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.085e-05/0.8443, allocations: 89.86 kB / 1.156 GB, free: 32.02 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.235e-06/0.8443, allocations: 28.52 kB / 1.156 GB, free: 31.99 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 1.378e-05/0.8443, allocations: 88.12 kB / 1.156 GB, free: 31.9 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.816e-05/0.8443, allocations: 3.953 kB / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.534e-05/0.8443, allocations: 12.38 kB / 1.156 GB, free: 31.88 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.947e-05/0.8444, allocations: 321.6 kB / 1.156 GB, free: 31.56 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.805e-05/0.8444, allocations: 6 kB / 1.156 GB, free: 31.56 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.884e-05/0.8444, allocations: 9.062 kB / 1.156 GB, free: 31.56 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.248e-05/0.8445, allocations: 20.86 kB / 1.156 GB, free: 31.55 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.8445, allocations: 0 / 1.156 GB, free: 31.55 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.487e-05/0.8446, allocations: 48.36 kB / 1.156 GB, free: 31.51 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.8446, allocations: 11.59 kB / 1.156 GB, free: 31.5 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.8446, allocations: 0 / 1.156 GB, free: 31.5 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.8446, allocations: 2.688 kB / 1.156 GB, free: 31.5 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000374/0.845, allocations: 49.47 kB / 1.156 GB, free: 31.5 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009172/0.8459, allocations: 1.279 MB / 1.157 GB, free: 30.21 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.695e-05/0.846, allocations: 2.75 kB / 1.157 GB, free: 30.21 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.846, allocations: 0 / 1.157 GB, free: 30.21 MB / 1.076 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 4.398e-05/0.846, allocations: 117 kB / 1.157 GB, free: 30.09 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.725e-06/0.846, allocations: 3.984 kB / 1.157 GB, free: 30.09 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.043e-05/0.846, allocations: 7.656 kB / 1.157 GB, free: 30.08 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.846, allocations: 2.625 kB / 1.157 GB, free: 30.08 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.61e-07/0.846, allocations: 0 / 1.157 GB, free: 30.08 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.846, allocations: 3.047 kB / 1.157 GB, free: 30.08 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.203e-05/0.8461, allocations: 107.9 kB / 1.158 GB, free: 29.95 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.8461, allocations: 7.938 kB / 1.158 GB, free: 29.94 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003493/0.8464, allocations: 49.48 kB / 1.158 GB, free: 29.93 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.8464, allocations: 0 / 1.158 GB, free: 29.93 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.8464, allocations: 2.688 kB / 1.158 GB, free: 29.93 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007902/0.8472, allocations: 1.282 MB / 1.159 GB, free: 28.65 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.8472, allocations: 0 / 1.159 GB, free: 28.65 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.742e-05/0.8473, allocations: 74.09 kB / 1.159 GB, free: 28.58 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.95e-06/0.8473, allocations: 15.17 kB / 1.159 GB, free: 28.57 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.162e-06/0.8473, allocations: 2.656 kB / 1.159 GB, free: 28.57 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.535e-05/0.8474, allocations: 0 / 1.159 GB, free: 28.57 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.472e-05/0.8474, allocations: 3.062 kB / 1.159 GB, free: 28.57 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.8474, allocations: 96 / 1.159 GB, free: 28.57 MB / 1.076 GB Notification: Performance of sorting global known variables: time 1.109e-05/0.8474, allocations: 83.22 kB / 1.159 GB, free: 28.49 MB / 1.076 GB Notification: Performance of sort global known variables: time 6.1e-08/0.8474, allocations: 0 / 1.159 GB, free: 28.49 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001894/0.8476, allocations: 2.781 kB / 1.159 GB, free: 28.49 MB / 1.076 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.951e-05/0.8477, allocations: 96.88 kB / 1.159 GB, free: 28.4 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004454/0.8481, allocations: 64.56 kB / 1.159 GB, free: 28.39 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.8481, allocations: 2.844 kB / 1.159 GB, free: 28.39 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002261/0.8483, allocations: 40 kB / 1.159 GB, free: 28.38 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001289/0.8485, allocations: 0 / 1.159 GB, free: 28.38 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002688/0.8487, allocations: 97.72 kB / 1.159 GB, free: 28.28 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.682e-05/0.8488, allocations: 64.19 kB / 1.159 GB, free: 28.2 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.613e-05/0.8488, allocations: 4.219 kB / 1.159 GB, free: 28.2 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.298e-05/0.8488, allocations: 15.22 kB / 1.159 GB, free: 28.19 MB / 1.076 GB Notification: Performance of SimCode: time 4.7e-07/0.8488, allocations: 0 / 1.159 GB, free: 28.19 MB / 1.076 GB Notification: Performance of Templates: time 0.002508/0.8513, allocations: 455.1 kB / 1.16 GB, free: 28.11 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.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.397685830947012]