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.001531/0.001531, allocations: 109.3 kB / 15.99 MB, free: 6.344 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.001686/0.001686, allocations: 197.9 kB / 16.91 MB, free: 6.176 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.369/1.369, allocations: 222.9 MB / 240.6 MB, free: 15.38 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.32/2.32, allocations: 390.2 MB / 0.665 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 65.86 kB / 0.8127 GB, free: 33.12 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3187, allocations: 140.4 MB / 0.9498 GB, free: 9.238 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.003396/0.3222, allocations: 1.508 MB / 0.9512 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003885/0.3226, allocations: 88.64 kB / 0.9513 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.181e-05/0.3227, allocations: 0 / 0.9513 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.13e-05/0.3227, allocations: 7.938 kB / 0.9513 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.051e-05/0.3228, allocations: 7.984 kB / 0.9513 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002844/0.3231, allocations: 8 kB / 0.9513 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.658e-05/0.3232, allocations: 23.92 kB / 0.9514 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.3234, allocations: 4 kB / 0.9514 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.81e-05/0.3234, allocations: 15.92 kB / 0.9514 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.381e-05/0.3235, allocations: 11.98 kB / 0.9514 GB, free: 7.551 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.3235, allocations: 0 / 0.9514 GB, free: 7.551 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.774e-05/0.3236, allocations: 15.98 kB / 0.9514 GB, free: 7.535 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.272e-05/0.3236, allocations: 15.92 kB / 0.9514 GB, free: 7.52 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.995e-05/0.3236, allocations: 7.938 kB / 0.9514 GB, free: 7.512 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.3238, allocations: 19.97 kB / 0.9515 GB, free: 7.492 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.884e-06/0.3238, allocations: 0 / 0.9515 GB, free: 7.492 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.924e-06/0.3238, allocations: 3.938 kB / 0.9515 GB, free: 7.488 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.3238, allocations: 0 / 0.9515 GB, free: 7.488 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.0005595/0.3244, allocations: 347.7 kB / 0.9518 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.777e-05/0.3244, allocations: 8.031 kB / 0.9518 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002191/0.3247, allocations: 20.81 kB / 0.9518 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.3248, allocations: 172.4 kB / 0.952 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.082e-05/0.3249, allocations: 384 / 0.952 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.3249, allocations: 384 / 0.952 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000229/0.3251, allocations: 62.17 kB / 0.952 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.3252, allocations: 4.172 kB / 0.952 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.3252, allocations: 3.938 kB / 0.952 GB, free: 6.789 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.3252, allocations: 0 / 0.952 GB, free: 6.789 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002413/0.3254, allocations: 51.95 kB / 0.9521 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000543/0.326, allocations: 264.9 kB / 0.9524 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001862/0.3262, allocations: 50.48 kB / 0.9524 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.3263, allocations: 28.91 kB / 0.9524 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.3263, allocations: 0 / 0.9524 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.268e-05/0.3264, allocations: 42.55 kB / 0.9525 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.3264, allocations: 0 / 0.9525 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0004814/0.3269, allocations: 101.5 kB / 0.9526 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.327, allocations: 55.53 kB / 0.9526 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.3271, allocations: 105.9 kB / 0.9527 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.3271, allocations: 29.64 kB / 0.9527 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.25e-05/0.3272, allocations: 92.12 kB / 0.9528 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.3272, allocations: 11.83 kB / 0.9528 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.88e-05/0.3273, allocations: 17.72 kB / 0.9529 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001967/0.3275, allocations: 310.8 kB / 0.9532 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.3276, allocations: 27.97 kB / 0.9532 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.816e-05/0.3277, allocations: 23.97 kB / 0.9532 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/0.3279, allocations: 48.81 kB / 0.9533 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3279, allocations: 0 / 0.9533 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000261/0.3282, allocations: 89.59 kB / 0.9533 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.3282, allocations: 4 kB / 0.9533 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.3282, allocations: 0 / 0.9533 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.3282, allocations: 0 / 0.9533 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.3284, allocations: 11.98 kB / 0.9534 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.3284, allocations: 0 / 0.9534 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.471e-05/0.3285, allocations: 7.984 kB / 0.9534 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.577e-06/0.3285, allocations: 4 kB / 0.9534 GB, free: 5.305 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 7.961e-05/0.3286, allocations: 119.8 kB / 0.9535 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.841e-05/0.3286, allocations: 7.891 kB / 0.9535 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.421e-05/0.3286, allocations: 7.531 kB / 0.9535 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3286, allocations: 0 / 0.9535 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.3286, allocations: 0 / 0.9535 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.3286, allocations: 0 / 0.9535 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.3288, allocations: 169.6 kB / 0.9537 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.3288, allocations: 0 / 0.9537 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.418e-05/0.3289, allocations: 15.98 kB / 0.9537 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3289, allocations: 0 / 0.9537 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.3289, allocations: 0 / 0.9537 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.329, allocations: 7.875 kB / 0.9537 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.329, allocations: 0 / 0.9537 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003017/0.3293, allocations: 175.4 kB / 0.9538 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.944e-05/0.3293, allocations: 81.14 kB / 0.9539 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.3294, allocations: 4 kB / 0.9539 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.597e-05/0.3295, allocations: 11.98 kB / 0.9539 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-05/0.3295, allocations: 0 / 0.9539 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.3295, allocations: 256 / 0.9539 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.555e-05/0.3296, allocations: 95.2 kB / 0.954 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3296, allocations: 0 / 0.954 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000223/0.3298, allocations: 8 kB / 0.954 GB, free: 4.52 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.0001283/0.3299, allocations: 103.2 kB / 0.9541 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002701/0.3302, allocations: 51.89 kB / 0.9542 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3302, allocations: 0 / 0.9542 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.3303, allocations: 27.97 kB / 0.9542 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.3307, allocations: 9.812 kB / 0.9542 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004056/0.3311, allocations: 151.3 kB / 0.9544 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.3314, allocations: 0.6805 MB / 0.955 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.967e-05/0.3314, allocations: 7.438 kB / 0.955 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of SimCode: time 4.11e-07/0.3314, allocations: 0 / 0.955 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of Templates: time 0.002268/0.3337, allocations: 0.6318 MB / 0.9557 GB, free: 2.801 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