Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.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.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.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 108 kB / 15.6 MB, free: 132 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.001097/0.001097, allocations: 199 kB / 16.54 MB, free: 6.672 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.331/1.331, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.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.295/2.295, allocations: 390.2 MB / 0.6647 GB, free: 448 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001213, allocations: 71.91 kB / 0.8125 GB, free: 14.47 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7844/0.7856, allocations: 140.3 MB / 0.9496 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001806/0.7874, allocations: 0.5857 MB / 0.9502 GB, free: 8.773 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006138/0.7881, allocations: 324.3 kB / 0.9505 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.867e-05/0.7881, allocations: 0 / 0.9505 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.651e-05/0.7881, allocations: 0 / 0.9505 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.911e-06/0.7881, allocations: 0 / 0.9505 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004374/0.7886, allocations: 106.8 kB / 0.9506 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.202e-05/0.7886, allocations: 5.219 kB / 0.9506 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.757e-05/0.7887, allocations: 9.234 kB / 0.9506 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.509e-05/0.7887, allocations: 5.078 kB / 0.9506 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.292e-05/0.7887, allocations: 1.281 kB / 0.9506 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.829e-06/0.7888, allocations: 0 / 0.9506 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003836/0.7891, allocations: 274 kB / 0.9509 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.162e-05/0.7892, allocations: 1.125 kB / 0.9509 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.648e-05/0.7892, allocations: 0 / 0.9509 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001731/0.7894, allocations: 84.08 kB / 0.9509 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.7894, allocations: 0 / 0.9509 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.022e-06/0.7894, allocations: 0 / 0.9509 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.7894, allocations: 1.312 kB / 0.9509 GB, free: 8.242 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002497/0.7896, allocations: 339.8 kB / 0.9513 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.7897, allocations: 8.562 kB / 0.9513 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.679e-05/0.7897, allocations: 2.531 kB / 0.9513 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.931e-05/0.7898, allocations: 164.4 kB / 0.9514 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.826e-06/0.7898, allocations: 4.375 kB / 0.9514 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.367e-06/0.7898, allocations: 5.656 kB / 0.9514 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.285e-05/0.7899, allocations: 31.55 kB / 0.9515 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.79, allocations: 2.375 kB / 0.9515 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.79, allocations: 3.938 kB / 0.9515 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.79, allocations: 4 kB / 0.9515 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.9e-05/0.79, allocations: 2.125 kB / 0.9515 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001122/0.7901, allocations: 145.7 kB / 0.9516 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.191e-05/0.7901, allocations: 24.52 kB / 0.9516 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.67e-05/0.7902, allocations: 6.828 kB / 0.9516 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004253/0.7906, allocations: 428.8 kB / 0.9521 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.463e-05/0.7906, allocations: 34.56 kB / 0.9521 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.7906, allocations: 0 / 0.9521 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001481/0.7908, allocations: 35.05 kB / 0.9521 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.223e-05/0.7908, allocations: 56.94 kB / 0.9522 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.963e-05/0.7908, allocations: 89.86 kB / 0.9523 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.344e-06/0.7909, allocations: 33.81 kB / 0.9523 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.105e-05/0.7909, allocations: 80.14 kB / 0.9524 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.095e-05/0.7909, allocations: 5.188 kB / 0.9524 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.198e-05/0.7909, allocations: 14.88 kB / 0.9524 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.028e-05/0.791, allocations: 311.9 kB / 0.9527 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.167e-06/0.791, allocations: 0.8125 kB / 0.9527 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.672e-06/0.791, allocations: 2.125 kB / 0.9527 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.243e-05/0.791, allocations: 11.8 kB / 0.9527 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.791, allocations: 0 / 0.9527 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.566e-05/0.7911, allocations: 35.16 kB / 0.9527 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.7911, allocations: 10.47 kB / 0.9527 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.7911, allocations: 0 / 0.9527 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.7912, allocations: 3.938 kB / 0.9527 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.149e-05/0.7912, allocations: 1.406 kB / 0.9528 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.7912, allocations: 1.344 kB / 0.9528 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.348e-05/0.7912, allocations: 0 / 0.9528 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.7912, allocations: 1.438 kB / 0.9528 GB, free: 6.145 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 (1): * Single equations (assignments): 1 * 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.554e-05/0.7913, allocations: 115.2 kB / 0.9529 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.998e-05/0.7913, allocations: 0 / 0.9529 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.116e-05/0.7914, allocations: 46.31 kB / 0.9529 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.7914, allocations: 0 / 0.9529 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.7914, allocations: 0 / 0.9529 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.7914, allocations: 1.406 kB / 0.9529 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.012e-05/0.7915, allocations: 147.4 kB / 0.953 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.7915, allocations: 0 / 0.953 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.209e-05/0.7915, allocations: 13.3 kB / 0.9531 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.7915, allocations: 3.938 kB / 0.9531 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.7915, allocations: 5.062 kB / 0.9531 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.7915, allocations: 3.938 kB / 0.9531 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.7915, allocations: 0 / 0.9531 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.93e-05/0.7916, allocations: 51.58 kB / 0.9531 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.691e-05/0.7916, allocations: 80.2 kB / 0.9532 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.7916, allocations: 9.203 kB / 0.9532 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.903e-06/0.7916, allocations: 4.031 kB / 0.9532 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.665e-05/0.7916, allocations: 5.281 kB / 0.9532 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.7917, allocations: 0 / 0.9532 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.265e-05/0.7917, allocations: 75.28 kB / 0.9533 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7917, allocations: 1.344 kB / 0.9533 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002143/0.7919, allocations: 7.938 kB / 0.9533 GB, free: 5.516 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 (1): * Single equations (assignments): 1 * 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.0001598/0.7921, allocations: 113.8 kB / 0.9534 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.843e-05/0.7921, allocations: 12.81 kB / 0.9534 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.7921, allocations: 0 / 0.9534 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.412e-06/0.7922, allocations: 2.031 kB / 0.9534 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001284/0.7923, allocations: 5.016 kB / 0.9534 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001627/0.7925, allocations: 74.27 kB / 0.9535 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/0.7926, allocations: 0.6738 MB / 0.9542 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.514e-05/0.7926, allocations: 5.109 kB / 0.9542 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.134e-05/0.7926, allocations: 8.656 kB / 0.9542 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.7926, allocations: 4 kB / 0.9542 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of Templates: time 0.002356/0.795, allocations: 459.3 kB / 0.9546 GB, free: 4.371 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches