Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.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.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 108.7 kB / 16.36 MB, free: 6.336 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.001779/0.001779, allocations: 193.8 kB / 17.29 MB, free: 5.883 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.482/2.482, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.001931, allocations: 60.97 kB / 0.8707 GB, free: 1.496 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3077, allocations: 151.7 MB / 1.019 GB, free: 9.898 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002435/0.3102, allocations: 1.44 MB / 1.02 GB, free: 8.441 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002418/0.3105, allocations: 96.58 kB / 1.02 GB, free: 8.344 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.793e-05/0.3105, allocations: 0 / 1.02 GB, free: 8.344 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.419e-05/0.3105, allocations: 3.938 kB / 1.02 GB, free: 8.34 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.867e-05/0.3106, allocations: 4 kB / 1.02 GB, free: 8.336 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001652/0.3107, allocations: 19.92 kB / 1.02 GB, free: 8.316 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.551e-05/0.3108, allocations: 23.92 kB / 1.02 GB, free: 8.293 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.428e-05/0.3109, allocations: 7.984 kB / 1.02 GB, free: 8.285 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.503e-05/0.311, allocations: 15.92 kB / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.453e-05/0.311, allocations: 7.938 kB / 1.02 GB, free: 8.262 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.3111, allocations: 0 / 1.02 GB, free: 8.262 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 5.139e-05/0.3111, allocations: 23.98 kB / 1.02 GB, free: 8.238 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.433e-05/0.3111, allocations: 7.984 kB / 1.02 GB, free: 8.23 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.117e-05/0.3112, allocations: 7.938 kB / 1.02 GB, free: 8.223 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.818e-05/0.3113, allocations: 39.88 kB / 1.02 GB, free: 8.184 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3113, allocations: 0 / 1.02 GB, free: 8.184 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3113, allocations: 0 / 1.02 GB, free: 8.184 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.3113, allocations: 0 / 1.02 GB, free: 8.184 MB / 0.795 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.0004071/0.3117, allocations: 351.3 kB / 1.021 GB, free: 7.789 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 2.967e-05/0.3117, allocations: 8.922 kB / 1.021 GB, free: 7.781 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/0.3119, allocations: 16.92 kB / 1.021 GB, free: 7.766 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.312, allocations: 164.4 kB / 1.021 GB, free: 7.566 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.312, allocations: 4.375 kB / 1.021 GB, free: 7.562 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.235e-06/0.312, allocations: 384 / 1.021 GB, free: 7.562 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.3122, allocations: 62.16 kB / 1.021 GB, free: 7.496 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.3122, allocations: 192 / 1.021 GB, free: 7.496 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.3123, allocations: 7.922 kB / 1.021 GB, free: 7.488 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.3123, allocations: 0 / 1.021 GB, free: 7.488 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001945/0.3125, allocations: 51.95 kB / 1.021 GB, free: 7.438 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003452/0.3128, allocations: 260.9 kB / 1.021 GB, free: 7.133 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.313, allocations: 54.48 kB / 1.021 GB, free: 7.07 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.3131, allocations: 40.83 kB / 1.021 GB, free: 7.027 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.3131, allocations: 0 / 1.021 GB, free: 7.027 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.3131, allocations: 30.56 kB / 1.021 GB, free: 6.988 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.3132, allocations: 0 / 1.021 GB, free: 6.988 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0003809/0.3135, allocations: 105.7 kB / 1.022 GB, free: 6.879 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.3136, allocations: 55.34 kB / 1.022 GB, free: 6.812 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.107e-05/0.3137, allocations: 105.8 kB / 1.022 GB, free: 6.699 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.3137, allocations: 29.64 kB / 1.022 GB, free: 6.664 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.225e-05/0.3137, allocations: 84.14 kB / 1.022 GB, free: 6.578 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.3138, allocations: 7.844 kB / 1.022 GB, free: 6.57 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.284e-05/0.3138, allocations: 13.72 kB / 1.022 GB, free: 6.551 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.907e-05/0.3139, allocations: 318.8 kB / 1.022 GB, free: 6.23 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.828e-05/0.314, allocations: 27.95 kB / 1.022 GB, free: 6.203 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.66e-05/0.3141, allocations: 23.97 kB / 1.022 GB, free: 6.18 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/0.3143, allocations: 48.81 kB / 1.022 GB, free: 6.129 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3143, allocations: 4 kB / 1.022 GB, free: 6.125 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002287/0.3145, allocations: 85.64 kB / 1.022 GB, free: 6.035 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.3146, allocations: 8 kB / 1.022 GB, free: 6.027 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.3146, allocations: 0 / 1.022 GB, free: 6.027 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.3146, allocations: 0 / 1.022 GB, free: 6.027 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.916e-05/0.3147, allocations: 11.98 kB / 1.022 GB, free: 6.016 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.3147, allocations: 0 / 1.022 GB, free: 6.016 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.927e-05/0.3148, allocations: 12.02 kB / 1.022 GB, free: 6.004 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.3148, allocations: 3.938 kB / 1.022 GB, free: 6 MB / 0.795 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.713e-05/0.3149, allocations: 117.8 kB / 1.022 GB, free: 5.875 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.3149, allocations: 3.906 kB / 1.022 GB, free: 5.871 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.269e-05/0.3149, allocations: 3.531 kB / 1.022 GB, free: 5.867 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.3149, allocations: 0 / 1.022 GB, free: 5.867 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.3149, allocations: 0 / 1.022 GB, free: 5.867 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.3149, allocations: 4 kB / 1.022 GB, free: 5.863 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.3151, allocations: 165.6 kB / 1.023 GB, free: 5.652 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3151, allocations: 0 / 1.023 GB, free: 5.652 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.611e-05/0.3152, allocations: 16.23 kB / 1.023 GB, free: 5.637 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3152, allocations: 0 / 1.023 GB, free: 5.637 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.3152, allocations: 4 kB / 1.023 GB, free: 5.633 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.3152, allocations: 4 kB / 1.023 GB, free: 5.629 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3152, allocations: 3.984 kB / 1.023 GB, free: 5.625 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.3155, allocations: 175.5 kB / 1.023 GB, free: 5.438 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.1e-05/0.3155, allocations: 77.11 kB / 1.023 GB, free: 5.344 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.3156, allocations: 0 / 1.023 GB, free: 5.344 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.05e-05/0.3156, allocations: 11.92 kB / 1.023 GB, free: 5.332 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.764e-05/0.3157, allocations: 7.984 kB / 1.023 GB, free: 5.324 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.3157, allocations: 0 / 1.023 GB, free: 5.324 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.865e-05/0.3157, allocations: 87.22 kB / 1.023 GB, free: 5.238 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3158, allocations: 0 / 1.023 GB, free: 5.238 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002222/0.316, allocations: 4 kB / 1.023 GB, free: 5.234 MB / 0.795 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001103/0.3161, allocations: 99.28 kB / 1.023 GB, free: 5.125 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002436/0.3163, allocations: 59.88 kB / 1.023 GB, free: 5.066 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3164, allocations: 0 / 1.023 GB, free: 5.066 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.782e-05/0.3165, allocations: 23.98 kB / 1.023 GB, free: 5.043 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.3167, allocations: 12.05 kB / 1.023 GB, free: 5.031 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002879/0.317, allocations: 125.5 kB / 1.023 GB, free: 4.883 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.3172, allocations: 0.6768 MB / 1.024 GB, free: 4.18 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.689e-05/0.3173, allocations: 0 / 1.024 GB, free: 4.18 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.512e-05/0.3173, allocations: 11.44 kB / 1.024 GB, free: 4.168 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.3173, allocations: 4 kB / 1.024 GB, free: 4.164 MB / 0.795 GB Notification: Performance of Templates: time 0.002398/0.3197, allocations: 0.5731 MB / 1.025 GB, free: 3.598 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches