Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_latest_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.001182/0.001182, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007465/0.007465, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.448/1.448, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.794/2.794, allocations: 462.7 MB / 0.7364 GB, free: 280 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0005092/0.0005093, allocations: 12.53 kB / 0.9028 GB, free: 36.73 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3862/0.3867, allocations: 159.6 MB / 1.059 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.001747/0.3885, allocations: 1.167 MB / 1.06 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003326/0.3889, allocations: 99.69 kB / 1.06 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.679e-05/0.3889, allocations: 0 / 1.06 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.511e-05/0.389, allocations: 4 kB / 1.06 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.121e-05/0.389, allocations: 7.922 kB / 1.06 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001678/0.3892, allocations: 12 kB / 1.06 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.875e-05/0.3893, allocations: 23.91 kB / 1.06 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.07e-05/0.3894, allocations: 8 kB / 1.06 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.554e-05/0.3894, allocations: 11.92 kB / 1.06 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.606e-05/0.3895, allocations: 11.92 kB / 1.06 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.3895, allocations: 4 kB / 1.06 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.643e-05/0.3896, allocations: 12 kB / 1.06 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.475e-05/0.3896, allocations: 3.984 kB / 1.06 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.694e-05/0.3896, allocations: 29.64 kB / 1.06 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001139/0.3897, allocations: 47.88 kB / 1.06 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3898, allocations: 0 / 1.06 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3898, allocations: 0 / 1.06 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.3898, allocations: 0 / 1.06 GB, free: 4.035 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.0004495/0.3902, allocations: 340.9 kB / 1.06 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.3903, allocations: 8.031 kB / 1.06 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000174/0.3904, allocations: 24.83 kB / 1.06 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.3906, allocations: 168.4 kB / 1.061 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/0.3906, allocations: 8.375 kB / 1.061 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.797e-06/0.3906, allocations: 384 / 1.061 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002096/0.3908, allocations: 70.16 kB / 1.061 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.3909, allocations: 192 / 1.061 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.3909, allocations: 3.938 kB / 1.061 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.3909, allocations: 4 kB / 1.061 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002373/0.3911, allocations: 63.94 kB / 1.061 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003895/0.3915, allocations: 261 kB / 1.061 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00019/0.3917, allocations: 62.48 kB / 1.061 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.3919, allocations: 44.83 kB / 1.061 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.3919, allocations: 0 / 1.061 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.3919, allocations: 34.56 kB / 1.061 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.3919, allocations: 3.938 kB / 1.061 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0004612/0.3924, allocations: 125.5 kB / 1.061 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.3924, allocations: 59.53 kB / 1.061 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.42e-05/0.3925, allocations: 101.8 kB / 1.061 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.3926, allocations: 29.7 kB / 1.061 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.336e-05/0.3926, allocations: 80.14 kB / 1.061 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.3926, allocations: 7.844 kB / 1.061 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.612e-05/0.3927, allocations: 13.72 kB / 1.062 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.3928, allocations: 322.8 kB / 1.062 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.3929, allocations: 35.92 kB / 1.062 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.393, allocations: 31.97 kB / 1.062 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002233/0.3932, allocations: 64.88 kB / 1.062 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3933, allocations: 4 kB / 1.062 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002777/0.3935, allocations: 97.58 kB / 1.062 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.3936, allocations: 4 kB / 1.062 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.3936, allocations: 0 / 1.062 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.3936, allocations: 0 / 1.062 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.3937, allocations: 15.98 kB / 1.062 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.3937, allocations: 4.031 kB / 1.062 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.802e-05/0.3938, allocations: 19.92 kB / 1.062 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-06/0.3938, allocations: 0 / 1.062 GB, free: 1.738 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 (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 7.858e-05/0.3939, allocations: 113.8 kB / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.335e-05/0.3939, allocations: 0 / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.682e-05/0.394, allocations: 3.531 kB / 1.062 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.394, allocations: 0 / 1.062 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.394, allocations: 4 kB / 1.062 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.394, allocations: 4 kB / 1.062 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.3941, allocations: 165.6 kB / 1.062 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3942, allocations: 0 / 1.062 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.209e-05/0.3942, allocations: 15.98 kB / 1.062 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3942, allocations: 0 / 1.062 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.3943, allocations: 3.984 kB / 1.062 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3943, allocations: 0 / 1.062 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3943, allocations: 0 / 1.062 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003076/0.3946, allocations: 199.6 kB / 1.063 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.61e-05/0.3946, allocations: 81.14 kB / 1.063 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.3947, allocations: 15.86 kB / 1.063 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.237e-05/0.3948, allocations: 8 kB / 1.063 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.549e-05/0.3948, allocations: 7.984 kB / 1.063 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.3948, allocations: 0 / 1.063 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.899e-05/0.3949, allocations: 83.28 kB / 1.063 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3949, allocations: 0 / 1.063 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002166/0.3951, allocations: 4 kB / 1.063 GB, free: 0.9492 MB / 0.8106 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.0001136/0.3952, allocations: 99.25 kB / 1.063 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002926/0.3955, allocations: 71.94 kB / 1.063 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3955, allocations: 0 / 1.063 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.3957, allocations: 31.98 kB / 1.063 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.396, allocations: 11.91 kB / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003774/0.3963, allocations: 144.6 kB / 1.063 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.3967, allocations: 0.6731 MB / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.666e-05/0.3967, allocations: 4 kB / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.338e-05/0.3967, allocations: 11.42 kB / 1.064 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of SimCode: time 5.81e-07/0.3967, allocations: 4 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of Templates: time 0.002825/0.3996, allocations: 0.497 MB / 1.064 GB, free: 15.35 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches