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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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.001047/0.001046, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001128/0.001128, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.966/2.966, allocations: 462.6 MB / 0.736 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00039/0.00039, allocations: 11.09 kB / 0.9021 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3874/0.3878, allocations: 159.6 MB / 1.058 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.00225/0.3902, allocations: 1.152 MB / 1.059 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003194/0.3905, allocations: 87.83 kB / 1.059 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.009e-05/0.3906, allocations: 4 kB / 1.059 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.186e-05/0.3906, allocations: 3.938 kB / 1.059 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.889e-05/0.3907, allocations: 4 kB / 1.059 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002297/0.3909, allocations: 11.98 kB / 1.059 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.862e-05/0.391, allocations: 15.94 kB / 1.059 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.3911, allocations: 11.98 kB / 1.059 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.096e-05/0.3912, allocations: 7.922 kB / 1.059 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.867e-05/0.3912, allocations: 15.92 kB / 1.059 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.3912, allocations: 0 / 1.059 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.973e-05/0.3913, allocations: 11.98 kB / 1.059 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.144e-05/0.3913, allocations: 8 kB / 1.059 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.66e-05/0.3914, allocations: 25.7 kB / 1.059 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.767e-05/0.3915, allocations: 27.91 kB / 1.059 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.3915, allocations: 7.938 kB / 1.059 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3915, allocations: 0 / 1.059 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.3915, allocations: 0 / 1.059 GB, free: 3.941 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.0004874/0.392, allocations: 339.5 kB / 1.06 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.392, allocations: 12.02 kB / 1.06 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001828/0.3922, allocations: 23.89 kB / 1.06 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.3924, allocations: 159.1 kB / 1.06 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.827e-05/0.3924, allocations: 11.94 kB / 1.06 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.3924, allocations: 3.953 kB / 1.06 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.3926, allocations: 61.66 kB / 1.06 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.3927, allocations: 4 kB / 1.06 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.3927, allocations: 4 kB / 1.06 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.3927, allocations: 0 / 1.06 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002019/0.3929, allocations: 59.95 kB / 1.06 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004424/0.3933, allocations: 276.9 kB / 1.06 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.3935, allocations: 62.48 kB / 1.06 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.3936, allocations: 40.89 kB / 1.06 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.3937, allocations: 3.984 kB / 1.06 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.3937, allocations: 34.56 kB / 1.06 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.3937, allocations: 0 / 1.06 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.000406/0.3941, allocations: 117.6 kB / 1.061 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.3942, allocations: 63.47 kB / 1.061 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.613e-05/0.3942, allocations: 105.8 kB / 1.061 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.3943, allocations: 25.7 kB / 1.061 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.25e-05/0.3943, allocations: 88.05 kB / 1.061 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.881e-05/0.3944, allocations: 3.938 kB / 1.061 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.107e-06/0.3944, allocations: 0 / 1.061 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.3945, allocations: 314.8 kB / 1.061 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.3946, allocations: 35.97 kB / 1.061 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.294e-05/0.3947, allocations: 31.97 kB / 1.061 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.3949, allocations: 32 kB / 1.061 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3949, allocations: 0 / 1.061 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002297/0.3951, allocations: 101.5 kB / 1.061 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.3951, allocations: 8 kB / 1.061 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.3951, allocations: 3.938 kB / 1.061 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.3952, allocations: 0 / 1.061 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.3953, allocations: 11.98 kB / 1.061 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.3953, allocations: 7.938 kB / 1.061 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.044e-05/0.3954, allocations: 11.98 kB / 1.061 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.3954, allocations: 8.031 kB / 1.061 GB, free: 1.699 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.173e-05/0.3955, allocations: 109.8 kB / 1.061 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.3955, allocations: 4 kB / 1.061 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.134e-05/0.3956, allocations: 7.469 kB / 1.061 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.3956, allocations: 0 / 1.061 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3956, allocations: 0 / 1.061 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.3956, allocations: 0 / 1.061 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000181/0.3958, allocations: 165.7 kB / 1.062 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3958, allocations: 3.953 kB / 1.062 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.819e-05/0.3959, allocations: 19.98 kB / 1.062 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3959, allocations: 0 / 1.062 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.3959, allocations: 0 / 1.062 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3959, allocations: 0 / 1.062 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.3959, allocations: 3.984 kB / 1.062 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003313/0.3962, allocations: 187.4 kB / 1.062 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.722e-05/0.3963, allocations: 93 kB / 1.062 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.3963, allocations: 3.984 kB / 1.062 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.005e-05/0.3964, allocations: 12.03 kB / 1.062 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.638e-05/0.3965, allocations: 3.984 kB / 1.062 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.3965, allocations: 256 / 1.062 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.598e-05/0.3965, allocations: 87.28 kB / 1.062 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3965, allocations: 0 / 1.062 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002204/0.3968, allocations: 8 kB / 1.062 GB, free: 0.9102 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001187/0.3969, allocations: 95.25 kB / 1.062 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002466/0.3971, allocations: 71.94 kB / 1.062 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3971, allocations: 0 / 1.062 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.813e-05/0.3972, allocations: 32.05 kB / 1.062 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.3975, allocations: 7.984 kB / 1.062 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003201/0.3979, allocations: 140.6 kB / 1.062 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.3981, allocations: 0.6731 MB / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.383e-05/0.3982, allocations: 3.984 kB / 1.063 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.729e-05/0.3982, allocations: 7.438 kB / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3982, allocations: 0 / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of Templates: time 0.002493/0.4007, allocations: 0.4887 MB / 1.064 GB, free: 15.34 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