Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.0009918/0.0009914, allocations: 98.27 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.007738/0.007738, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.386/1.386, 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 11.0.1-master/package.mo): time 2.855/2.855, allocations: 462.7 MB / 0.7364 GB, free: 264 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004039/0.0004039, allocations: 12.47 kB / 0.9028 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3517, allocations: 159.6 MB / 1.059 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0008482/0.3526, allocations: 326.9 kB / 1.059 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000365/0.353, allocations: 103.6 kB / 1.059 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.165e-05/0.3531, allocations: 0 / 1.059 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.497e-05/0.3531, allocations: 4 kB / 1.059 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.045e-05/0.3531, allocations: 3.938 kB / 1.059 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001982/0.3533, allocations: 15.98 kB / 1.059 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.959e-05/0.3534, allocations: 4 kB / 1.059 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.39e-05/0.3534, allocations: 3.938 kB / 1.059 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.174e-05/0.3535, allocations: 4 kB / 1.059 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.009e-05/0.3536, allocations: 4 kB / 1.059 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.3536, allocations: 0 / 1.059 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.237e-05/0.3536, allocations: 11.98 kB / 1.059 GB, free: 5 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.735e-05/0.3537, allocations: 7.938 kB / 1.059 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.899e-05/0.3537, allocations: 41.67 kB / 1.059 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.515e-05/0.3538, allocations: 7.984 kB / 1.059 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3538, allocations: 0 / 1.059 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3538, allocations: 0 / 1.059 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.3538, allocations: 0 / 1.059 GB, free: 4.938 MB / 0.8106 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.0003394/0.3542, allocations: 323.5 kB / 1.059 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.3542, allocations: 8.031 kB / 1.059 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001734/0.3544, allocations: 8.922 kB / 1.06 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.3545, allocations: 164.4 kB / 1.06 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.3546, allocations: 4.375 kB / 1.06 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.3546, allocations: 4.375 kB / 1.06 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.3547, allocations: 38.19 kB / 1.06 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.3547, allocations: 192 / 1.06 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.3548, allocations: 7.938 kB / 1.06 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3548, allocations: 0 / 1.06 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.906e-05/0.3549, allocations: 15.92 kB / 1.06 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001613/0.355, allocations: 153.7 kB / 1.06 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.3552, allocations: 38.56 kB / 1.06 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.598e-05/0.3553, allocations: 24.91 kB / 1.06 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.3553, allocations: 0 / 1.06 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.3553, allocations: 30.56 kB / 1.06 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.3553, allocations: 0 / 1.06 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0002388/0.3556, allocations: 65.55 kB / 1.06 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.3556, allocations: 51.41 kB / 1.06 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.997e-05/0.3557, allocations: 89.86 kB / 1.06 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.3557, allocations: 25.7 kB / 1.06 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.587e-05/0.3557, allocations: 80.14 kB / 1.06 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.545e-05/0.3558, allocations: 16.12 kB / 1.06 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.726e-05/0.3558, allocations: 9.719 kB / 1.06 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.356, allocations: 310.8 kB / 1.061 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.056e-05/0.356, allocations: 15.98 kB / 1.061 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.863e-05/0.356, allocations: 4.188 kB / 1.061 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.492e-05/0.3561, allocations: 28.86 kB / 1.061 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3561, allocations: 3.938 kB / 1.061 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001353/0.3563, allocations: 53.67 kB / 1.061 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.3563, allocations: 4 kB / 1.061 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.3563, allocations: 0 / 1.061 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.3563, allocations: 7.938 kB / 1.061 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003787/0.3567, allocations: 43.94 kB / 1.061 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001261/0.358, allocations: 1.302 MB / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.142e-05/0.358, allocations: 12.17 kB / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.3581, allocations: 0 / 1.062 GB, free: 1.672 MB / 0.8106 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.467e-05/0.3581, allocations: 109.8 kB / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.103e-05/0.3582, allocations: 7.938 kB / 1.062 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.503e-05/0.3582, allocations: 3.5 kB / 1.062 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.3582, allocations: 0 / 1.062 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.3582, allocations: 0 / 1.062 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.3582, allocations: 3.938 kB / 1.062 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.3583, allocations: 165.5 kB / 1.062 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3583, allocations: 4 kB / 1.062 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000366/0.3587, allocations: 47.92 kB / 1.062 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.3587, allocations: 0 / 1.062 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.483e-06/0.3587, allocations: 0 / 1.062 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001087/0.3598, allocations: 1.31 MB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3598, allocations: 0 / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001325/0.36, allocations: 80.98 kB / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.13e-05/0.36, allocations: 81.02 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.166e-06/0.36, allocations: 4 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.895e-05/0.3601, allocations: 8.094 kB / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.955e-05/0.3601, allocations: 3.984 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/0.3601, allocations: 0 / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.269e-05/0.3601, allocations: 75.28 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of sort global known variables: time 9e-08/0.3601, allocations: 0 / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001881/0.3603, allocations: 8 kB / 1.064 GB, free: 15.54 MB / 0.8262 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.0001483/0.3605, allocations: 103.2 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004423/0.3609, allocations: 55.92 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3609, allocations: 0 / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.00024/0.3612, allocations: 43.89 kB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001383/0.3613, allocations: 4.938 kB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003022/0.3616, allocations: 98.97 kB / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.362, allocations: 0.6731 MB / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.274e-05/0.362, allocations: 7.938 kB / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.534e-05/0.362, allocations: 7.438 kB / 1.065 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of SimCode: time 3.3e-07/0.3621, allocations: 4 kB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of Templates: time 0.002411/0.3645, allocations: 386.3 kB / 1.065 GB, free: 14.11 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches