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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001192/0.001192, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001253/0.001253, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 223.3 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.764/2.764, allocations: 437.7 MB / 0.7117 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004392/0.0004393, allocations: 8 kB / 0.8722 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8242/0.8247, allocations: 153.8 MB / 1.022 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001057/0.8258, allocations: 329.3 kB / 1.023 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0004366/0.8263, allocations: 91.78 kB / 1.023 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.234e-05/0.8263, allocations: 0 / 1.023 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.69e-05/0.8264, allocations: 0 / 1.023 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.268e-05/0.8264, allocations: 0 / 1.023 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002818/0.8267, allocations: 7.984 kB / 1.023 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.629e-05/0.8268, allocations: 8 kB / 1.023 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.755e-05/0.8269, allocations: 0 / 1.023 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.506e-05/0.8269, allocations: 11.92 kB / 1.023 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.8271, allocations: 3.984 kB / 1.023 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.8271, allocations: 0 / 1.023 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.184e-05/0.8272, allocations: 19.98 kB / 1.023 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.153e-05/0.8272, allocations: 3.938 kB / 1.023 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.113e-05/0.8273, allocations: 29.7 kB / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.936e-05/0.8274, allocations: 4 kB / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.451e-05/0.8274, allocations: 7.984 kB / 1.023 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.365e-06/0.8274, allocations: 0 / 1.023 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.8274, allocations: 0 / 1.023 GB, free: 15.54 MB / 0.7794 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.0005228/0.828, allocations: 311.4 kB / 1.023 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.224e-05/0.828, allocations: 8.031 kB / 1.023 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002268/0.8283, allocations: 15.89 kB / 1.023 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.8284, allocations: 163.1 kB / 1.023 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.546e-05/0.8285, allocations: 4 kB / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.8285, allocations: 0 / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.8287, allocations: 45.58 kB / 1.023 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.8287, allocations: 3.938 kB / 1.023 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.8287, allocations: 0 / 1.023 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.8288, allocations: 0 / 1.023 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.8289, allocations: 11.98 kB / 1.023 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002387/0.8291, allocations: 153.7 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/0.8294, allocations: 38.55 kB / 1.024 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.975e-05/0.8294, allocations: 24.84 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.8295, allocations: 0 / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/0.8295, allocations: 38.52 kB / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.8295, allocations: 0 / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0003106/0.8298, allocations: 53.67 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.8299, allocations: 51.41 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.365e-05/0.83, allocations: 89.86 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.83, allocations: 25.7 kB / 1.024 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.592e-05/0.83, allocations: 84.14 kB / 1.024 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.248e-05/0.8301, allocations: 9.875 kB / 1.024 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-06/0.8301, allocations: 0 / 1.024 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.8303, allocations: 314.8 kB / 1.024 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.408e-05/0.8304, allocations: 11.92 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.86e-05/0.8304, allocations: 8 kB / 1.024 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.908e-05/0.8305, allocations: 7.984 kB / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.8305, allocations: 0 / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001397/0.8306, allocations: 45.97 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/0.8307, allocations: 4 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.8307, allocations: 4 kB / 1.024 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.8307, allocations: 7.953 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004869/0.8312, allocations: 35.94 kB / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0018/0.8331, allocations: 1.333 MB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.696e-05/0.8331, allocations: 0 / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-06/0.8331, allocations: 3.938 kB / 1.026 GB, free: 12.32 MB / 0.7794 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001256/0.8333, allocations: 109.9 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.317e-06/0.8333, allocations: 0 / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.845e-05/0.8333, allocations: 11.45 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.8333, allocations: 0 / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.8333, allocations: 4 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.8334, allocations: 3.984 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.8335, allocations: 153.6 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.8335, allocations: 4 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004314/0.834, allocations: 47.92 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.834, allocations: 3.938 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.834, allocations: 0 / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00159/0.8356, allocations: 1.314 MB / 1.027 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.8356, allocations: 0 / 1.027 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002055/0.8358, allocations: 73.08 kB / 1.027 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.106e-05/0.8359, allocations: 85.14 kB / 1.027 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.964e-06/0.8359, allocations: 0 / 1.027 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.391e-05/0.836, allocations: 8.047 kB / 1.027 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/0.836, allocations: 7.984 kB / 1.027 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/0.8361, allocations: 4 kB / 1.027 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.756e-05/0.8361, allocations: 75.28 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8361, allocations: 0 / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002914/0.8364, allocations: 4 kB / 1.028 GB, free: 10.2 MB / 0.7794 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001906/0.8366, allocations: 95.25 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005446/0.8372, allocations: 67.84 kB / 1.028 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.8372, allocations: 0 / 1.028 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000296/0.8375, allocations: 39.95 kB / 1.028 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001956/0.8377, allocations: 0 / 1.028 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003836/0.8381, allocations: 94.94 kB / 1.028 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.8385, allocations: 0.677 MB / 1.029 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.451e-05/0.8385, allocations: 3.984 kB / 1.029 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.356e-05/0.8386, allocations: 15.44 kB / 1.029 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of SimCode: time 3.1e-07/0.8386, allocations: 0 / 1.029 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of Templates: time 0.003191/0.8418, allocations: 377 kB / 1.029 GB, free: 8.781 MB / 0.7794 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/jenkins/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