Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_11_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.00154/0.001541, allocations: 108.2 kB / 15.99 MB, free: 6.352 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.00153/0.00153, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.415/1.415, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.675/2.675, allocations: 469.8 MB / 0.7427 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 72.72 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3349, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002731/0.3377, allocations: 1.499 MB / 1.066 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002583/0.3379, allocations: 87.75 kB / 1.066 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.02e-05/0.338, allocations: 4 kB / 1.066 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.103e-05/0.338, allocations: 0 / 1.066 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.32e-05/0.3381, allocations: 3.938 kB / 1.066 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001832/0.3383, allocations: 19.98 kB / 1.066 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.861e-05/0.3383, allocations: 27.91 kB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.928e-05/0.3384, allocations: 7.984 kB / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.923e-05/0.3385, allocations: 11.92 kB / 1.066 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.759e-05/0.3385, allocations: 11.94 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.3386, allocations: 4 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 5.821e-05/0.3386, allocations: 15.98 kB / 1.066 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.534e-05/0.3386, allocations: 7.984 kB / 1.066 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.535e-05/0.3387, allocations: 11.94 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 8.025e-05/0.3388, allocations: 23.95 kB / 1.066 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.3388, allocations: 8 kB / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3388, allocations: 0 / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.3388, allocations: 0 / 1.066 GB, free: 13.36 MB / 0.8419 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.0004842/0.3393, allocations: 339.7 kB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.3393, allocations: 12.03 kB / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001586/0.3395, allocations: 12.92 kB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.3396, allocations: 168.3 kB / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.3397, allocations: 384 / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.3397, allocations: 8.375 kB / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.3399, allocations: 58.11 kB / 1.066 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.3399, allocations: 4.188 kB / 1.066 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.3399, allocations: 3.938 kB / 1.066 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.3399, allocations: 0 / 1.066 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000208/0.3401, allocations: 47.94 kB / 1.066 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003977/0.3405, allocations: 261 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.3407, allocations: 62.41 kB / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.3408, allocations: 24.91 kB / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.3409, allocations: 4 kB / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.3409, allocations: 34.56 kB / 1.067 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3409, allocations: 0 / 1.067 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0004099/0.3413, allocations: 101.6 kB / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.3414, allocations: 55.34 kB / 1.067 GB, free: 12 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.644e-05/0.3415, allocations: 106 kB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.3415, allocations: 29.7 kB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.182e-05/0.3416, allocations: 84.14 kB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.023e-05/0.3416, allocations: 15.77 kB / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.455e-05/0.3416, allocations: 13.72 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.3418, allocations: 314.8 kB / 1.068 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.3419, allocations: 19.97 kB / 1.068 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.342, allocations: 27.98 kB / 1.068 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001864/0.3422, allocations: 48.81 kB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.3422, allocations: 3.984 kB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002375/0.3425, allocations: 81.59 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.3425, allocations: 8.094 kB / 1.068 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3425, allocations: 0 / 1.068 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.3425, allocations: 4 kB / 1.068 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.3426, allocations: 11.92 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.3426, allocations: 3.984 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.416e-05/0.3427, allocations: 11.98 kB / 1.068 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.3427, allocations: 0 / 1.068 GB, free: 11.19 MB / 0.8419 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 9.253e-05/0.3428, allocations: 113.8 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.667e-05/0.3428, allocations: 11.91 kB / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.512e-05/0.3429, allocations: 3.531 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.3429, allocations: 0 / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.898e-06/0.3429, allocations: 4.234 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.3429, allocations: 3.938 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001914/0.3431, allocations: 173.6 kB / 1.068 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3431, allocations: 0 / 1.068 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.114e-05/0.3432, allocations: 11.98 kB / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.3432, allocations: 0 / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.3432, allocations: 0 / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3432, allocations: 4 kB / 1.068 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.3432, allocations: 0 / 1.068 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002958/0.3435, allocations: 179.4 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.699e-05/0.3436, allocations: 85.02 kB / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.3436, allocations: 0 / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.157e-05/0.3437, allocations: 12.02 kB / 1.068 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.581e-05/0.3437, allocations: 3.984 kB / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.3437, allocations: 0 / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.246e-05/0.3438, allocations: 87.28 kB / 1.068 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.3438, allocations: 0 / 1.068 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002153/0.344, allocations: 4 kB / 1.068 GB, free: 10.41 MB / 0.8419 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.0001146/0.3442, allocations: 99.23 kB / 1.068 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002533/0.3444, allocations: 55.89 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.3444, allocations: 4 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.3445, allocations: 27.91 kB / 1.069 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.3448, allocations: 11.94 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003473/0.3452, allocations: 158.5 kB / 1.069 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.3455, allocations: 0.6768 MB / 1.069 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.729e-05/0.3456, allocations: 11.44 kB / 1.069 GB, free: 9.316 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.3456, allocations: 0 / 1.069 GB, free: 9.316 MB / 0.8419 GB Notification: Performance of Templates: time 0.002113/0.3477, allocations: 0.6352 MB / 1.07 GB, free: 8.688 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches