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.000799/0.0007991, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005252/0.005252, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.378/1.378, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.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.69/2.69, allocations: 437.8 MB / 0.7121 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000379/0.0003792, allocations: 12 kB / 0.8728 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7617/0.7621, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0008698/0.7631, allocations: 337.3 kB / 1.023 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0003419/0.7634, allocations: 91.61 kB / 1.023 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.123e-05/0.7635, allocations: 4 kB / 1.023 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.358e-05/0.7635, allocations: 4 kB / 1.023 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.573e-05/0.7635, allocations: 0 / 1.023 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001812/0.7637, allocations: 15.92 kB / 1.023 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.749e-05/0.7638, allocations: 8 kB / 1.023 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.981e-05/0.7638, allocations: 0 / 1.023 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.257e-05/0.7639, allocations: 4 kB / 1.023 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.284e-05/0.764, allocations: 7.969 kB / 1.023 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.764, allocations: 0 / 1.023 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.657e-05/0.7641, allocations: 15.98 kB / 1.023 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.368e-05/0.7641, allocations: 4 kB / 1.023 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.517e-05/0.7641, allocations: 29.64 kB / 1.024 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.928e-05/0.7642, allocations: 15.98 kB / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.7642, allocations: 0 / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.703e-06/0.7642, allocations: 0 / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.7642, allocations: 0 / 1.024 GB, free: 15.29 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.0003307/0.7646, allocations: 315.6 kB / 1.024 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.7646, allocations: 8.031 kB / 1.024 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001705/0.7648, allocations: 16.83 kB / 1.024 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.7649, allocations: 164.4 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.765, allocations: 4.375 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.765, allocations: 4.312 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.7651, allocations: 38.19 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.7651, allocations: 4.188 kB / 1.024 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.7651, allocations: 3.938 kB / 1.024 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.7652, allocations: 3.938 kB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.698e-05/0.7652, allocations: 15.98 kB / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001551/0.7654, allocations: 157.7 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.7656, allocations: 38.61 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.884e-05/0.7656, allocations: 12.91 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.7657, allocations: 0 / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.7657, allocations: 38.5 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.7657, allocations: 8 kB / 1.024 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0002183/0.7659, allocations: 53.61 kB / 1.024 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.766, allocations: 55.41 kB / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.417e-05/0.766, allocations: 89.86 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.7661, allocations: 25.7 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.013e-05/0.7661, allocations: 80.14 kB / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.169e-05/0.7661, allocations: 13.86 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/0.7662, allocations: 9.719 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.7663, allocations: 322.8 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.801e-05/0.7663, allocations: 4 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.171e-05/0.7664, allocations: 15.92 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.159e-05/0.7665, allocations: 21.12 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.7665, allocations: 0 / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000116/0.7666, allocations: 49.67 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.7666, allocations: 6.031 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.7666, allocations: 4 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.7666, allocations: 7.938 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000379/0.767, allocations: 35.94 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/0.7683, allocations: 1.317 MB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.964e-05/0.7684, allocations: 0 / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.7684, allocations: 4.031 kB / 1.026 GB, free: 12.02 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 7.251e-05/0.7684, allocations: 105.8 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.096e-05/0.7685, allocations: 7.938 kB / 1.026 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.429e-05/0.7685, allocations: 3.5 kB / 1.026 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.7685, allocations: 0 / 1.026 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.7685, allocations: 4 kB / 1.026 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.7685, allocations: 4.047 kB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000102/0.7686, allocations: 157.6 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.7686, allocations: 4 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003682/0.769, allocations: 51.8 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.769, allocations: 0 / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.769, allocations: 3.938 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001108/0.7701, allocations: 1.31 MB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.7701, allocations: 0 / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001372/0.7703, allocations: 89.05 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.299e-05/0.7703, allocations: 77.11 kB / 1.028 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.374e-06/0.7704, allocations: 4.094 kB / 1.028 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.643e-05/0.7704, allocations: 0 / 1.028 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.011e-05/0.7704, allocations: 7.984 kB / 1.028 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.7704, allocations: 0 / 1.028 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.475e-05/0.7705, allocations: 75.28 kB / 1.028 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7705, allocations: 0 / 1.028 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001982/0.7707, allocations: 4 kB / 1.028 GB, free: 9.895 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.0001423/0.7708, allocations: 103.2 kB / 1.028 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004695/0.7713, allocations: 71.84 kB / 1.028 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.7713, allocations: 0 / 1.028 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002442/0.7716, allocations: 39.95 kB / 1.028 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001418/0.7717, allocations: 4 kB / 1.028 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003298/0.772, allocations: 90.94 kB / 1.029 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.7723, allocations: 0.6731 MB / 1.029 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.791e-05/0.7723, allocations: 7.938 kB / 1.029 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.179e-05/0.7724, allocations: 15.42 kB / 1.029 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of SimCode: time 2.8e-07/0.7724, allocations: 0 / 1.029 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of Templates: time 0.002443/0.7748, allocations: 379.1 kB / 1.03 GB, free: 8.469 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