Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TExact",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TExact",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 112.1 kB / 16.41 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 183 kB / 17.34 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.386/2.386, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.001451, allocations: 63.91 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9477/0.9492, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002001/0.9512, allocations: 0.5789 MB / 1.168 GB, free: 3.258 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003467/0.9516, allocations: 87.73 kB / 1.168 GB, free: 3.172 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.331e-05/0.9516, allocations: 0 / 1.168 GB, free: 3.172 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.388e-05/0.9517, allocations: 0 / 1.168 GB, free: 3.172 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.472e-05/0.9517, allocations: 7.969 kB / 1.168 GB, free: 3.164 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002643/0.952, allocations: 23.92 kB / 1.168 GB, free: 3.141 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.506e-05/0.9521, allocations: 7.938 kB / 1.168 GB, free: 3.133 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.32e-05/0.9521, allocations: 4 kB / 1.168 GB, free: 3.129 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.283e-05/0.9522, allocations: 4 kB / 1.168 GB, free: 3.125 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.052e-05/0.9522, allocations: 4 kB / 1.168 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.9523, allocations: 0 / 1.168 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.354e-05/0.9523, allocations: 15.98 kB / 1.168 GB, free: 3.105 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.972e-05/0.9524, allocations: 7.969 kB / 1.168 GB, free: 3.098 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.756e-05/0.9524, allocations: 3.938 kB / 1.168 GB, free: 3.094 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001009/0.9525, allocations: 11.98 kB / 1.168 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.9525, allocations: 8 kB / 1.168 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.794e-06/0.9525, allocations: 3.938 kB / 1.168 GB, free: 3.07 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.9526, allocations: 0 / 1.168 GB, free: 3.07 MB / 0.8887 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.0003949/0.953, allocations: 315.6 kB / 1.168 GB, free: 2.711 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.953, allocations: 12.92 kB / 1.168 GB, free: 2.699 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001894/0.9532, allocations: 8.922 kB / 1.168 GB, free: 2.691 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.9533, allocations: 168.3 kB / 1.169 GB, free: 2.488 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.9533, allocations: 384 / 1.169 GB, free: 2.488 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.9534, allocations: 8.375 kB / 1.169 GB, free: 2.48 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.9535, allocations: 38.25 kB / 1.169 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.9535, allocations: 192 / 1.169 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.9535, allocations: 3.938 kB / 1.169 GB, free: 2.434 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.9535, allocations: 0 / 1.169 GB, free: 2.434 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.418e-05/0.9536, allocations: 15.98 kB / 1.169 GB, free: 2.418 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001682/0.9538, allocations: 157.7 kB / 1.169 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.954, allocations: 46.53 kB / 1.169 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.036e-05/0.954, allocations: 12.92 kB / 1.169 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.9541, allocations: 0 / 1.169 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.9541, allocations: 30.56 kB / 1.169 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.9541, allocations: 3.938 kB / 1.169 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0002197/0.9543, allocations: 61.61 kB / 1.169 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.9544, allocations: 55.41 kB / 1.169 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.27e-05/0.9544, allocations: 89.86 kB / 1.169 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.9545, allocations: 25.7 kB / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.625e-05/0.9545, allocations: 84.08 kB / 1.169 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.313e-05/0.9545, allocations: 15.61 kB / 1.169 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.889e-05/0.9546, allocations: 17.7 kB / 1.169 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.9547, allocations: 314.8 kB / 1.17 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.097e-05/0.9547, allocations: 8 kB / 1.17 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.84e-05/0.9548, allocations: 11.98 kB / 1.17 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.99e-05/0.9549, allocations: 20.84 kB / 1.17 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.9549, allocations: 0 / 1.17 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001097/0.955, allocations: 45.69 kB / 1.17 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.955, allocations: 4 kB / 1.17 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.955, allocations: 0 / 1.17 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.9551, allocations: 7.938 kB / 1.17 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003775/0.9554, allocations: 47.86 kB / 1.17 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001344/0.9568, allocations: 1.405 MB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.258e-05/0.9568, allocations: 8.016 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-06/0.9568, allocations: 0 / 1.171 GB, free: 15.7 MB / 0.9044 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 8.588e-05/0.9569, allocations: 117.7 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.988e-06/0.957, allocations: 0 / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.492e-05/0.957, allocations: 11.5 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.957, allocations: 3.938 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.957, allocations: 0 / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.957, allocations: 0 / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.9571, allocations: 165.7 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.9571, allocations: 0 / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003555/0.9575, allocations: 47.92 kB / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.9575, allocations: 0 / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.9575, allocations: 0 / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001136/0.9586, allocations: 1.411 MB / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.9587, allocations: 0 / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.9588, allocations: 73.23 kB / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4e-05/0.9588, allocations: 77.11 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.053e-06/0.9589, allocations: 11.88 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.027e-05/0.9589, allocations: 7.984 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.536e-05/0.9589, allocations: 0 / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.9589, allocations: 4 kB / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 2.368e-05/0.9589, allocations: 75.28 kB / 1.173 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.959, allocations: 0 / 1.173 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001914/0.9591, allocations: 4 kB / 1.173 GB, free: 13.46 MB / 0.9044 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 0.0001323/0.9593, allocations: 107.2 kB / 1.173 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000453/0.9597, allocations: 63.91 kB / 1.173 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.9598, allocations: 0 / 1.173 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003691/0.9601, allocations: 55.92 kB / 1.173 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001515/0.9603, allocations: 6.656 kB / 1.173 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003648/0.9607, allocations: 126.5 kB / 1.173 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.9609, allocations: 0.6729 MB / 1.174 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.52e-05/0.9609, allocations: 15.38 kB / 1.174 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of SimCode: time 3.01e-07/0.9609, allocations: 0 / 1.174 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of Templates: time 0.00204/0.963, allocations: 0.5892 MB / 1.175 GB, free: 11.77 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches