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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001897/0.001897, allocations: 103.7 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002294/0.002294, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 225.6 MB / 249.9 MB, free: 13.45 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.042/3.042, allocations: 489.7 MB / 0.7761 GB, free: 33.78 MB / 0.6231 GB [Timeout remaining time 87] 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.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 69.41 kB / 1.127 GB, free: 36.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3917/0.3936, allocations: 172.1 MB / 1.295 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002754/0.3964, allocations: 1.434 MB / 1.296 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002979/0.3967, allocations: 96.22 kB / 1.296 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.17e-05/0.3967, allocations: 0 / 1.296 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.682e-05/0.3967, allocations: 3.938 kB / 1.296 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.744e-05/0.3968, allocations: 3.938 kB / 1.296 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002077/0.397, allocations: 19.95 kB / 1.296 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.026e-05/0.3971, allocations: 23.94 kB / 1.296 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.3972, allocations: 3.984 kB / 1.296 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.527e-05/0.3972, allocations: 11.94 kB / 1.296 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.349e-05/0.3973, allocations: 11.98 kB / 1.296 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.3973, allocations: 8 kB / 1.296 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.204e-05/0.3973, allocations: 15.98 kB / 1.296 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.561e-05/0.3974, allocations: 3.938 kB / 1.296 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.973e-05/0.3974, allocations: 15.92 kB / 1.296 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001222/0.3975, allocations: 35.83 kB / 1.297 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3975, allocations: 0 / 1.297 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3975, allocations: 0 / 1.297 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.959e-06/0.3975, allocations: 0 / 1.297 GB, free: 10.05 MB / 0.9981 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.0005043/0.398, allocations: 343.4 kB / 1.297 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.3981, allocations: 12.03 kB / 1.297 GB, free: 9.652 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/0.3982, allocations: 16.88 kB / 1.297 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.3984, allocations: 168.3 kB / 1.297 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/0.3984, allocations: 4.375 kB / 1.297 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.3984, allocations: 4.375 kB / 1.297 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.3986, allocations: 62.16 kB / 1.297 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.3986, allocations: 192 / 1.297 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.3986, allocations: 3.938 kB / 1.297 GB, free: 9.355 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.3986, allocations: 0 / 1.297 GB, free: 9.355 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002199/0.3989, allocations: 55.94 kB / 1.297 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004252/0.3993, allocations: 256.9 kB / 1.297 GB, free: 9 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.3995, allocations: 54.52 kB / 1.297 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.3996, allocations: 32.91 kB / 1.297 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.3996, allocations: 0 / 1.297 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.3996, allocations: 34.56 kB / 1.298 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.3996, allocations: 0 / 1.298 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0004265/0.4001, allocations: 113.6 kB / 1.298 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.4001, allocations: 51.41 kB / 1.298 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.994e-05/0.4002, allocations: 105.9 kB / 1.298 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.4002, allocations: 25.7 kB / 1.298 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.092e-05/0.4003, allocations: 88.12 kB / 1.298 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/0.4003, allocations: 7.891 kB / 1.298 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.804e-05/0.4003, allocations: 17.72 kB / 1.298 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.4005, allocations: 314.9 kB / 1.298 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.4006, allocations: 27.97 kB / 1.298 GB, free: 8.07 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.254e-05/0.4007, allocations: 23.97 kB / 1.298 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001768/0.4009, allocations: 48.75 kB / 1.298 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4009, allocations: 4.062 kB / 1.298 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002243/0.4011, allocations: 85.53 kB / 1.298 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.4011, allocations: 4 kB / 1.298 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.4011, allocations: 4 kB / 1.298 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.4011, allocations: 0 / 1.298 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.4012, allocations: 7.984 kB / 1.298 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.4012, allocations: 4 kB / 1.298 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.156e-05/0.4013, allocations: 12.02 kB / 1.298 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.4013, allocations: 4 kB / 1.298 GB, free: 7.867 MB / 0.9981 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 8.422e-05/0.4014, allocations: 110.3 kB / 1.299 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.4014, allocations: 7.953 kB / 1.299 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.917e-05/0.4015, allocations: 7.516 kB / 1.299 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.4015, allocations: 0 / 1.299 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.4015, allocations: 0 / 1.299 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.4015, allocations: 0 / 1.299 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/0.4016, allocations: 169.6 kB / 1.299 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4016, allocations: 4 kB / 1.299 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.57e-05/0.4017, allocations: 11.98 kB / 1.299 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.4017, allocations: 0 / 1.299 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.4017, allocations: 0 / 1.299 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4017, allocations: 3.938 kB / 1.299 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.4017, allocations: 4 kB / 1.299 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002954/0.402, allocations: 179.4 kB / 1.299 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.801e-05/0.4021, allocations: 85.11 kB / 1.299 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.4021, allocations: 0 / 1.299 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.63e-05/0.4022, allocations: 7.984 kB / 1.299 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.098e-05/0.4022, allocations: 0 / 1.299 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.4022, allocations: 4.25 kB / 1.299 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.466e-05/0.4023, allocations: 91.27 kB / 1.299 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.4023, allocations: 0 / 1.299 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002212/0.4025, allocations: 8.031 kB / 1.299 GB, free: 7.094 MB / 0.9981 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.0001269/0.4026, allocations: 95.25 kB / 1.299 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002629/0.4029, allocations: 51.89 kB / 1.299 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4029, allocations: 0 / 1.299 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.403, allocations: 32.03 kB / 1.299 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.4033, allocations: 11.88 kB / 1.299 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003938/0.4037, allocations: 158.3 kB / 1.299 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.404, allocations: 0.6768 MB / 1.3 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.666e-05/0.404, allocations: 7.438 kB / 1.3 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of SimCode: time 4.31e-07/0.404, allocations: 0 / 1.3 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of Templates: time 0.002188/0.4062, allocations: 0.6422 MB / 1.301 GB, free: 5.367 MB / 0.9981 GB [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches