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.0009362/0.0009364, allocations: 99.5 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 185.1 kB / 16.92 MB, free: 6.895 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.377/1.377, allocations: 223.3 MB / 241 MB, free: 5.328 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.623/2.623, allocations: 437.8 MB / 0.7128 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003696/0.0003697, allocations: 15.98 kB / 0.8735 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6754/0.6758, allocations: 153.8 MB / 1.024 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0007649/0.6766, allocations: 329.5 kB / 1.024 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0003284/0.677, allocations: 91.67 kB / 1.024 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.485e-05/0.677, allocations: 0 / 1.024 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.413e-05/0.677, allocations: 0 / 1.024 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.907e-05/0.6771, allocations: 4 kB / 1.024 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001969/0.6773, allocations: 15.98 kB / 1.024 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.546e-05/0.6773, allocations: 4 kB / 1.024 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.099e-05/0.6774, allocations: 8 kB / 1.024 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.356e-05/0.6774, allocations: 3.984 kB / 1.024 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.324e-05/0.6775, allocations: 11.92 kB / 1.024 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.6776, allocations: 0 / 1.024 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.611e-05/0.6776, allocations: 15.98 kB / 1.024 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.397e-05/0.6776, allocations: 0 / 1.024 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.46e-05/0.6777, allocations: 29.64 kB / 1.024 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.686e-05/0.6778, allocations: 7.984 kB / 1.024 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.6778, allocations: 0 / 1.024 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.345e-06/0.6778, allocations: 0 / 1.024 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.6778, allocations: 4 kB / 1.024 GB, free: 15.36 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.0003272/0.6781, allocations: 319.6 kB / 1.025 GB, free: 15 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.6782, allocations: 8.031 kB / 1.025 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001652/0.6783, allocations: 12.83 kB / 1.025 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.6785, allocations: 164.4 kB / 1.025 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.6785, allocations: 4.312 kB / 1.025 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.6785, allocations: 4.375 kB / 1.025 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.6787, allocations: 46.23 kB / 1.025 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.6787, allocations: 192 / 1.025 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.6787, allocations: 3.938 kB / 1.025 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.6787, allocations: 0 / 1.025 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.917e-05/0.6788, allocations: 15.92 kB / 1.025 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001628/0.679, allocations: 153.7 kB / 1.025 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.6791, allocations: 38.56 kB / 1.025 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.458e-05/0.6792, allocations: 20.91 kB / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.6792, allocations: 3.984 kB / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.6793, allocations: 30.56 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.6793, allocations: 0 / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0002229/0.6795, allocations: 61.55 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.6795, allocations: 51.41 kB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.64e-05/0.6796, allocations: 97.8 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.6796, allocations: 29.7 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.471e-05/0.6796, allocations: 80.14 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.725e-05/0.6797, allocations: 9.875 kB / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.541e-05/0.6797, allocations: 9.719 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.6798, allocations: 310.8 kB / 1.026 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.272e-05/0.6799, allocations: 11.98 kB / 1.026 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.228e-05/0.6799, allocations: 4 kB / 1.026 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.819e-05/0.68, allocations: 24.84 kB / 1.026 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.68, allocations: 0 / 1.026 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001248/0.6802, allocations: 57.61 kB / 1.026 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.6802, allocations: 4 kB / 1.026 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.6802, allocations: 0 / 1.026 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.6802, allocations: 3.938 kB / 1.026 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003975/0.6806, allocations: 43.94 kB / 1.026 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001321/0.682, allocations: 1.31 MB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.018e-05/0.682, allocations: 8.016 kB / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.884e-06/0.682, allocations: 4 kB / 1.027 GB, free: 12.09 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 (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.093e-05/0.6821, allocations: 111.6 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.04e-05/0.6821, allocations: 7.938 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.584e-05/0.6822, allocations: 3.5 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.6822, allocations: 0 / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.6822, allocations: 4 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.6822, allocations: 0 / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001096/0.6823, allocations: 161.5 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.6823, allocations: 0 / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003769/0.6827, allocations: 51.92 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.6827, allocations: 3.938 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.6827, allocations: 0 / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00118/0.6839, allocations: 1.306 MB / 1.029 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.6839, allocations: 0 / 1.029 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000147/0.6841, allocations: 85.14 kB / 1.029 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.31e-05/0.6841, allocations: 77.11 kB / 1.029 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.853e-06/0.6841, allocations: 0 / 1.029 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.652e-05/0.6842, allocations: 4 kB / 1.029 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.207e-05/0.6842, allocations: 3.984 kB / 1.029 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.6842, allocations: 3.938 kB / 1.029 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.044e-05/0.6842, allocations: 79.28 kB / 1.029 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6842, allocations: 0 / 1.029 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002001/0.6844, allocations: 8 kB / 1.029 GB, free: 9.969 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 (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.0001447/0.6846, allocations: 107.2 kB / 1.029 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000466/0.6851, allocations: 59.92 kB / 1.029 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6851, allocations: 0 / 1.029 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004116/0.6855, allocations: 59.84 kB / 1.029 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/0.6857, allocations: 4 kB / 1.029 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003652/0.686, allocations: 122 kB / 1.029 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.6863, allocations: 0.6695 MB / 1.03 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.087e-05/0.6863, allocations: 11.44 kB / 1.03 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.6863, allocations: 0 / 1.03 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of Templates: time 0.002182/0.6885, allocations: 0.5893 MB / 1.03 GB, free: 8.289 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/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