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.00141/0.00141, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001702/0.001702, allocations: 191.3 kB / 16.25 MB, free: 6.641 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.539/1.539, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.424/2.424, allocations: 390.2 MB / 0.6643 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 63.91 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9685/0.97, allocations: 140.4 MB / 0.9491 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.002197/0.9723, allocations: 0.6461 MB / 0.9497 GB, free: 8.711 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006481/0.9729, allocations: 319.2 kB / 0.95 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.656e-05/0.973, allocations: 1.375 kB / 0.95 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.687e-05/0.973, allocations: 0 / 0.95 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.893e-06/0.9731, allocations: 0 / 0.95 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005559/0.9736, allocations: 99.78 kB / 0.9501 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.337e-05/0.9737, allocations: 5.312 kB / 0.9501 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.301e-05/0.9737, allocations: 0 / 0.9501 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.509e-05/0.9737, allocations: 5.312 kB / 0.9501 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.858e-05/0.9738, allocations: 1.375 kB / 0.9501 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.9738, allocations: 0 / 0.9501 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004061/0.9742, allocations: 277.9 kB / 0.9504 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.392e-05/0.9742, allocations: 1.375 kB / 0.9504 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.289e-05/0.9742, allocations: 3.984 kB / 0.9504 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.9744, allocations: 87.36 kB / 0.9505 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.9745, allocations: 0 / 0.9505 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.793e-06/0.9745, allocations: 1.375 kB / 0.9505 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.9745, allocations: 0 / 0.9505 GB, free: 8.184 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.000306/0.9748, allocations: 331.8 kB / 0.9508 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.9748, allocations: 9.969 kB / 0.9508 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.774e-05/0.9749, allocations: 0.9375 kB / 0.9508 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.364e-05/0.975, allocations: 160.4 kB / 0.951 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.975, allocations: 5.5 kB / 0.951 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.975, allocations: 4.375 kB / 0.951 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.933e-05/0.9751, allocations: 36.91 kB / 0.951 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.9751, allocations: 192 / 0.951 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.9751, allocations: 7.875 kB / 0.951 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.9752, allocations: 3.984 kB / 0.951 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.159e-05/0.9752, allocations: 2.594 kB / 0.951 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001109/0.9753, allocations: 142.8 kB / 0.9512 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.365e-05/0.9753, allocations: 19.86 kB / 0.9512 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.572e-05/0.9754, allocations: 9.922 kB / 0.9512 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000459/0.9758, allocations: 426.1 kB / 0.9516 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/0.9759, allocations: 34.56 kB / 0.9516 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.9759, allocations: 3.938 kB / 0.9516 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001817/0.976, allocations: 40.11 kB / 0.9517 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.46e-05/0.9761, allocations: 51.41 kB / 0.9517 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.621e-05/0.9761, allocations: 89.86 kB / 0.9518 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.077e-06/0.9761, allocations: 27.39 kB / 0.9518 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.642e-05/0.9761, allocations: 80.14 kB / 0.9519 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.684e-05/0.9762, allocations: 3.906 kB / 0.9519 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.872e-05/0.9762, allocations: 16.19 kB / 0.9519 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.482e-05/0.9763, allocations: 315 kB / 0.9522 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.158e-05/0.9763, allocations: 5.562 kB / 0.9522 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.993e-06/0.9763, allocations: 1.156 kB / 0.9522 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.99e-05/0.9763, allocations: 15.39 kB / 0.9523 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.9764, allocations: 0 / 0.9523 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.49e-05/0.9764, allocations: 31.7 kB / 0.9523 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.9765, allocations: 8.25 kB / 0.9523 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.9765, allocations: 1.312 kB / 0.9523 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.9765, allocations: 3.938 kB / 0.9523 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.705e-05/0.9765, allocations: 6.844 kB / 0.9523 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.9766, allocations: 0 / 0.9523 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.271e-05/0.9766, allocations: 3.984 kB / 0.9523 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.9766, allocations: 1.312 kB / 0.9523 GB, free: 6.086 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 5.576e-05/0.9766, allocations: 114.9 kB / 0.9524 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.059e-05/0.9767, allocations: 0 / 0.9524 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.088e-05/0.9768, allocations: 42.3 kB / 0.9525 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.9768, allocations: 32 / 0.9525 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.9768, allocations: 5.406 kB / 0.9525 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.9768, allocations: 7.922 kB / 0.9525 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.613e-05/0.9768, allocations: 147 kB / 0.9526 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.9769, allocations: 0 / 0.9526 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.371e-05/0.9769, allocations: 1.5 kB / 0.9526 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.9769, allocations: 1.375 kB / 0.9526 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.9769, allocations: 3.938 kB / 0.9526 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.9769, allocations: 0 / 0.9526 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.9769, allocations: 1.562 kB / 0.9526 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.35e-05/0.977, allocations: 63.03 kB / 0.9527 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.165e-05/0.977, allocations: 79.08 kB / 0.9528 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.977, allocations: 5.469 kB / 0.9528 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.474e-06/0.977, allocations: 0 / 0.9528 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.73e-05/0.9771, allocations: 5.469 kB / 0.9528 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.9771, allocations: 0 / 0.9528 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.246e-05/0.9771, allocations: 75.28 kB / 0.9528 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9771, allocations: 0 / 0.9528 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002182/0.9773, allocations: 17.02 kB / 0.9529 GB, free: 5.457 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.0002026/0.9775, allocations: 106.3 kB / 0.953 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.792e-05/0.9776, allocations: 3.812 kB / 0.953 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.9776, allocations: 0 / 0.953 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.323e-06/0.9776, allocations: 2.281 kB / 0.953 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00014/0.9778, allocations: 2.25 kB / 0.953 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000197/0.978, allocations: 87.39 kB / 0.9531 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001433/0.9781, allocations: 0.674 MB / 0.9537 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.006e-05/0.9782, allocations: 5.359 kB / 0.9537 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.546e-05/0.9782, allocations: 8.844 kB / 0.9537 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of SimCode: time 2.8e-07/0.9782, allocations: 0 / 0.9537 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of Templates: time 0.003172/0.9814, allocations: 464.3 kB / 0.9542 GB, free: 4.312 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