Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 99.27 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 180.7 kB / 16.92 MB, free: 6.918 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.508/1.508, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.567/2.567, allocations: 390.9 MB / 0.667 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0006085/0.0006082, allocations: 12 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9085/0.9091, allocations: 142.4 MB / 0.9557 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.001461/0.9106, allocations: 1.166 MB / 0.9568 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000714/0.9114, allocations: 412 kB / 0.9572 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.188e-05/0.9114, allocations: 1.156 kB / 0.9572 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.767e-05/0.9114, allocations: 0 / 0.9572 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.47e-05/0.9115, allocations: 4.75 kB / 0.9572 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000319/0.9118, allocations: 68.47 kB / 0.9573 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.912e-05/0.9119, allocations: 25.73 kB / 0.9573 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.425e-05/0.912, allocations: 7.312 kB / 0.9573 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.892e-05/0.912, allocations: 15.02 kB / 0.9574 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.012e-05/0.9121, allocations: 3.594 kB / 0.9574 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.9121, allocations: 1.25 kB / 0.9574 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003455/0.9124, allocations: 278 kB / 0.9576 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.232e-05/0.9124, allocations: 5.188 kB / 0.9576 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.977e-05/0.9125, allocations: 39.78 kB / 0.9577 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.9126, allocations: 66.53 kB / 0.9577 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.9126, allocations: 1 kB / 0.9577 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.665e-06/0.9126, allocations: 3.984 kB / 0.9577 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.9126, allocations: 4 kB / 0.9577 GB, free: 6.133 MB / 0.7169 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.0003634/0.913, allocations: 359.8 kB / 0.9581 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.9131, allocations: 9.438 kB / 0.9581 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.5e-05/0.9131, allocations: 2.25 kB / 0.9581 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.075e-05/0.9132, allocations: 175 kB / 0.9583 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.9132, allocations: 1.625 kB / 0.9583 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.747e-06/0.9132, allocations: 1.812 kB / 0.9583 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.9134, allocations: 63.64 kB / 0.9583 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.9134, allocations: 192 / 0.9583 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.9134, allocations: 3.938 kB / 0.9583 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.9134, allocations: 0 / 0.9583 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001704/0.9136, allocations: 48.17 kB / 0.9584 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000248/0.9139, allocations: 250.4 kB / 0.9586 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.914, allocations: 44.91 kB / 0.9587 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.715e-05/0.9141, allocations: 32.06 kB / 0.9587 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005508/0.9146, allocations: 471.9 kB / 0.9591 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.488e-05/0.9147, allocations: 32.53 kB / 0.9592 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.9147, allocations: 3.938 kB / 0.9592 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003578/0.915, allocations: 99.05 kB / 0.9593 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.864e-05/0.9151, allocations: 52.84 kB / 0.9593 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.016e-05/0.9151, allocations: 109.6 kB / 0.9594 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.153e-06/0.9151, allocations: 25.7 kB / 0.9594 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.554e-05/0.9152, allocations: 85.58 kB / 0.9595 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.594e-05/0.9152, allocations: 5.438 kB / 0.9595 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.795e-05/0.9152, allocations: 13.84 kB / 0.9595 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.464e-05/0.9153, allocations: 316.4 kB / 0.9599 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.583e-05/0.9154, allocations: 21.45 kB / 0.9599 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.578e-05/0.9154, allocations: 22.77 kB / 0.9599 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.9156, allocations: 53.98 kB / 0.9599 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.9156, allocations: 0 / 0.9599 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002006/0.9158, allocations: 88.16 kB / 0.96 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.9158, allocations: 5.469 kB / 0.96 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.9158, allocations: 0 / 0.96 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.9159, allocations: 0 / 0.96 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.979e-05/0.9159, allocations: 12.92 kB / 0.96 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.916, allocations: 0 / 0.96 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.776e-05/0.916, allocations: 15.2 kB / 0.9601 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-06/0.916, allocations: 0 / 0.9601 GB, free: 3.785 MB / 0.7169 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 4.573e-05/0.9161, allocations: 115.5 kB / 0.9602 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.618e-05/0.9161, allocations: 9.766 kB / 0.9602 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002163/0.9163, allocations: 82.12 kB / 0.9603 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.9163, allocations: 1.344 kB / 0.9603 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.9164, allocations: 0 / 0.9603 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-06/0.9164, allocations: 0 / 0.9603 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001066/0.9165, allocations: 166.6 kB / 0.9604 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.9165, allocations: 1.312 kB / 0.9604 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.637e-05/0.9165, allocations: 12.05 kB / 0.9604 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.9165, allocations: 1.375 kB / 0.9604 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.9166, allocations: 4.031 kB / 0.9604 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.9166, allocations: 0 / 0.9604 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.9166, allocations: 1.375 kB / 0.9604 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002215/0.9168, allocations: 181.7 kB / 0.9606 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.863e-05/0.9168, allocations: 82.48 kB / 0.9607 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.9168, allocations: 3.938 kB / 0.9607 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.435e-05/0.9169, allocations: 10.86 kB / 0.9607 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.5e-05/0.917, allocations: 1.375 kB / 0.9607 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-06/0.917, allocations: 3.938 kB / 0.9607 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.326e-05/0.917, allocations: 88.77 kB / 0.9608 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.917, allocations: 0 / 0.9608 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000227/0.9172, allocations: 12.41 kB / 0.9608 GB, free: 3.031 MB / 0.7169 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.0001409/0.9174, allocations: 110.6 kB / 0.9609 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000209/0.9176, allocations: 51.52 kB / 0.961 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.9176, allocations: 1.438 kB / 0.961 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.724e-05/0.9177, allocations: 28.48 kB / 0.961 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.918, allocations: 5.312 kB / 0.961 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002361/0.9182, allocations: 140.2 kB / 0.9611 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.9183, allocations: 0.6825 MB / 0.9618 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.004e-05/0.9184, allocations: 8.812 kB / 0.9618 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.9184, allocations: 0 / 0.9618 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of Templates: time 0.002199/0.9206, allocations: 0.69 MB / 0.9625 GB, free: 1.695 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches