Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_9_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.001139/0.001139, allocations: 99.61 kB / 16.27 MB, free: 5.969 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.001283/0.001283, allocations: 194.3 kB / 17.2 MB, free: 5.594 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.362/1.362, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.358/2.358, allocations: 390.3 MB / 0.6653 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002734/0.002734, allocations: 67.39 kB / 0.8132 GB, free: 32.97 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4047, allocations: 140.4 MB / 0.9503 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.003352/0.4081, allocations: 1.44 MB / 0.9517 GB, free: 7.457 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003267/0.4085, allocations: 86.77 kB / 0.9518 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.413e-05/0.4086, allocations: 4 kB / 0.9518 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.381e-05/0.4086, allocations: 3.938 kB / 0.9518 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.6e-05/0.4087, allocations: 3.938 kB / 0.9518 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002345/0.4089, allocations: 15.98 kB / 0.9518 GB, free: 7.344 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.657e-05/0.4091, allocations: 23.92 kB / 0.9518 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.4092, allocations: 7.984 kB / 0.9518 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.612e-05/0.4092, allocations: 19.91 kB / 0.9518 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.039e-05/0.4093, allocations: 8 kB / 0.9518 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.4093, allocations: 0 / 0.9518 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.854e-05/0.4094, allocations: 19.98 kB / 0.9519 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.95e-05/0.4094, allocations: 11.92 kB / 0.9519 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.046e-05/0.4094, allocations: 7.938 kB / 0.9519 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001308/0.4096, allocations: 35.83 kB / 0.9519 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.4096, allocations: 4 kB / 0.9519 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.694e-06/0.4096, allocations: 0 / 0.9519 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.4096, allocations: 0 / 0.9519 GB, free: 7.207 MB / 0.7325 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.0005303/0.4101, allocations: 343.7 kB / 0.9522 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.4102, allocations: 12.03 kB / 0.9523 GB, free: 6.809 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001952/0.4104, allocations: 20.83 kB / 0.9523 GB, free: 6.789 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.4106, allocations: 168.3 kB / 0.9524 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.4106, allocations: 384 / 0.9524 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.4106, allocations: 4.375 kB / 0.9524 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002145/0.4108, allocations: 58.22 kB / 0.9525 GB, free: 6.52 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.4108, allocations: 4.188 kB / 0.9525 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.4109, allocations: 3.938 kB / 0.9525 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.4109, allocations: 0 / 0.9525 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002261/0.4111, allocations: 47.95 kB / 0.9525 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004409/0.4116, allocations: 261 kB / 0.9528 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.4118, allocations: 54.42 kB / 0.9528 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.4119, allocations: 32.89 kB / 0.9529 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.4119, allocations: 4 kB / 0.9529 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.412, allocations: 34.56 kB / 0.9529 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.412, allocations: 0 / 0.9529 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0004696/0.4124, allocations: 105.6 kB / 0.953 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.4125, allocations: 55.34 kB / 0.9531 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.301e-05/0.4126, allocations: 105.8 kB / 0.9532 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.4126, allocations: 25.7 kB / 0.9532 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.006e-05/0.4127, allocations: 84.14 kB / 0.9533 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/0.4127, allocations: 7.844 kB / 0.9533 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.471e-05/0.4128, allocations: 17.72 kB / 0.9533 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.4129, allocations: 314.9 kB / 0.9536 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.413, allocations: 23.98 kB / 0.9536 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.4131, allocations: 27.97 kB / 0.9537 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002301/0.4134, allocations: 44.81 kB / 0.9537 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.4134, allocations: 0 / 0.9537 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002877/0.4137, allocations: 93.58 kB / 0.9538 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.4137, allocations: 7.938 kB / 0.9538 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.4137, allocations: 0 / 0.9538 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.4138, allocations: 4 kB / 0.9538 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.4139, allocations: 7.984 kB / 0.9538 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.4139, allocations: 0 / 0.9538 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.16e-05/0.414, allocations: 16.02 kB / 0.9538 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.414, allocations: 4 kB / 0.9538 GB, free: 5.027 MB / 0.7325 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 0.0001143/0.4141, allocations: 109.8 kB / 0.9539 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.066e-05/0.4142, allocations: 11.84 kB / 0.9539 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.329e-05/0.4142, allocations: 3.531 kB / 0.9539 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.4142, allocations: 0 / 0.9539 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.4142, allocations: 0 / 0.9539 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.4142, allocations: 0 / 0.9539 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.4145, allocations: 169.8 kB / 0.9541 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.4145, allocations: 4 kB / 0.9541 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.228e-05/0.4146, allocations: 15.98 kB / 0.9541 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.4146, allocations: 0 / 0.9541 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.4146, allocations: 0 / 0.9541 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.4146, allocations: 0 / 0.9541 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.992e-06/0.4146, allocations: 3.984 kB / 0.9541 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000315/0.4149, allocations: 179.4 kB / 0.9543 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.903e-05/0.415, allocations: 89.09 kB / 0.9544 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.415, allocations: 0 / 0.9544 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.127e-05/0.4151, allocations: 7.984 kB / 0.9544 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.044e-05/0.4152, allocations: 3.984 kB / 0.9544 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.4152, allocations: 4 kB / 0.9544 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.356e-05/0.4152, allocations: 83.28 kB / 0.9545 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4152, allocations: 0 / 0.9545 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002231/0.4155, allocations: 4 kB / 0.9545 GB, free: 4.254 MB / 0.7325 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.0001272/0.4156, allocations: 99.28 kB / 0.9546 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000285/0.4159, allocations: 51.94 kB / 0.9546 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.4159, allocations: 4 kB / 0.9546 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.416, allocations: 23.92 kB / 0.9546 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.4163, allocations: 16.05 kB / 0.9547 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004576/0.4168, allocations: 143.2 kB / 0.9548 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.4171, allocations: 0.6805 MB / 0.9555 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.091e-05/0.4172, allocations: 11.38 kB / 0.9555 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.4172, allocations: 0 / 0.9555 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of Templates: time 0.002267/0.4195, allocations: 0.6409 MB / 0.9561 GB, free: 2.527 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches