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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001513/0.001513, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.002052/0.002053, allocations: 192 kB / 16.25 MB, free: 6.633 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.406/1.406, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.742/2.742, allocations: 472.7 MB / 0.7448 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 62.17 kB / 0.9116 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3284, allocations: 159.9 MB / 1.068 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002757/0.3312, allocations: 0.6522 MB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003513/0.3315, allocations: 97.88 kB / 1.068 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.613e-05/0.3316, allocations: 0 / 1.068 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.039e-05/0.3316, allocations: 0 / 1.068 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.795e-05/0.3317, allocations: 0 / 1.068 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002999/0.332, allocations: 31.86 kB / 1.069 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.489e-05/0.3321, allocations: 4 kB / 1.069 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.362e-05/0.3321, allocations: 0 / 1.069 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.215e-05/0.3322, allocations: 4 kB / 1.069 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.487e-05/0.3323, allocations: 4 kB / 1.069 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.3323, allocations: 3.938 kB / 1.069 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.639e-05/0.3324, allocations: 15.98 kB / 1.069 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.716e-05/0.3324, allocations: 7.969 kB / 1.069 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.37e-05/0.3324, allocations: 0 / 1.069 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.3325, allocations: 15.98 kB / 1.069 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3326, allocations: 0 / 1.069 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.685e-06/0.3326, allocations: 4 kB / 1.069 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.3326, allocations: 0 / 1.069 GB, free: 9.848 MB / 0.8262 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.0004683/0.3331, allocations: 315.6 kB / 1.069 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.3331, allocations: 12.03 kB / 1.069 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002206/0.3334, allocations: 12.86 kB / 1.069 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.3335, allocations: 160.4 kB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.3335, allocations: 384 / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.3336, allocations: 8.375 kB / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.3338, allocations: 42.19 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.3338, allocations: 192 / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.3338, allocations: 3.938 kB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.353e-06/0.3338, allocations: 0 / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.334, allocations: 15.98 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002141/0.3342, allocations: 153.7 kB / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002772/0.3345, allocations: 42.61 kB / 1.069 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.087e-05/0.3346, allocations: 16.91 kB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.3346, allocations: 0 / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.3346, allocations: 38.5 kB / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.3346, allocations: 0 / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0002852/0.3349, allocations: 57.8 kB / 1.069 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.335, allocations: 55.41 kB / 1.069 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.832e-05/0.3351, allocations: 89.86 kB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.3351, allocations: 25.7 kB / 1.07 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.456e-05/0.3351, allocations: 80.14 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.593e-05/0.3352, allocations: 20.03 kB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.686e-05/0.3352, allocations: 13.7 kB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.3354, allocations: 314.8 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.758e-05/0.3355, allocations: 8 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.126e-05/0.3355, allocations: 15.97 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/0.3356, allocations: 24.78 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3357, allocations: 0 / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001741/0.3358, allocations: 49.62 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.3359, allocations: 4 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3359, allocations: 0 / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.3359, allocations: 7.938 kB / 1.07 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004874/0.3364, allocations: 43.92 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001732/0.3382, allocations: 1.4 MB / 1.071 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.227e-05/0.3383, allocations: 4.031 kB / 1.071 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.3383, allocations: 3.984 kB / 1.072 GB, free: 6.477 MB / 0.8262 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 9.53e-05/0.3384, allocations: 112.2 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.639e-05/0.3384, allocations: 7.938 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.312e-05/0.3384, allocations: 11.5 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3385, allocations: 0 / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.3385, allocations: 0 / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3385, allocations: 4.062 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.3386, allocations: 161.6 kB / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3386, allocations: 0 / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005874/0.3392, allocations: 51.86 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3392, allocations: 0 / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.3393, allocations: 0 / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001629/0.3409, allocations: 1.408 MB / 1.073 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3409, allocations: 0 / 1.073 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000181/0.3411, allocations: 77.17 kB / 1.073 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.434e-05/0.3412, allocations: 77.11 kB / 1.073 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.3412, allocations: 11.94 kB / 1.073 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.095e-05/0.3412, allocations: 3.984 kB / 1.073 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.3413, allocations: 0 / 1.073 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.3413, allocations: 4 kB / 1.073 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.532e-05/0.3413, allocations: 75.28 kB / 1.073 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3413, allocations: 0 / 1.073 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003769/0.3417, allocations: 8 kB / 1.073 GB, free: 4.238 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.0001467/0.3419, allocations: 95.25 kB / 1.074 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006598/0.3425, allocations: 63.84 kB / 1.074 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.3426, allocations: 8 kB / 1.074 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003388/0.3429, allocations: 35.95 kB / 1.074 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.3431, allocations: 4 kB / 1.074 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003781/0.3435, allocations: 104.8 kB / 1.074 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.3439, allocations: 0.6768 MB / 1.074 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.167e-05/0.344, allocations: 7.984 kB / 1.074 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.092e-05/0.344, allocations: 11.38 kB / 1.074 GB, free: 3.172 MB / 0.8262 GB Notification: Performance of SimCode: time 2.485e-06/0.344, allocations: 0 / 1.074 GB, free: 3.172 MB / 0.8262 GB Notification: Performance of Templates: time 0.003059/0.3471, allocations: 412.4 kB / 1.075 GB, free: 2.77 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