Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.375/2.375, allocations: 393.5 MB / 408.4 MB, free: 11.01 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001765/0.001765, allocations: 172 kB / 0.4902 GB, free: 2.262 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 223.2 MB / 0.7992 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009731/0.0009729, allocations: 98.5 kB / 0.9396 GB, free: 2.746 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000542/0.000542, allocations: 11.36 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.2998, allocations: 143 MB / 1.229 GB, free: 85.43 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1816/0.4815, allocations: 149.9 MB / 1.376 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002888/0.4818, allocations: 71.95 kB / 1.376 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.01244/0.4943, allocations: 4.059 MB / 1.38 GB, free: 11.15 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.906e-06/0.4944, allocations: 7.938 kB / 1.38 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.4944, allocations: 0 / 1.38 GB, free: 11.14 MB / 0.8855 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.0004842/0.4949, allocations: 347.3 kB / 1.38 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001122/0.495, allocations: 8.031 kB / 1.38 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.734e-05/0.4951, allocations: 0 / 1.38 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.4952, allocations: 163 kB / 1.38 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.4953, allocations: 0 / 1.38 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.4953, allocations: 4 kB / 1.38 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.4954, allocations: 29.69 kB / 1.38 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.4954, allocations: 4 kB / 1.38 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.4954, allocations: 0 / 1.38 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.4954, allocations: 0 / 1.38 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.711e-05/0.4955, allocations: 4 kB / 1.38 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001846/0.4957, allocations: 149.6 kB / 1.38 GB, free: 10.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 4.529e-05/0.4957, allocations: 18.52 kB / 1.38 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005299/0.4963, allocations: 433.5 kB / 1.381 GB, free: 9.762 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.4963, allocations: 30.56 kB / 1.381 GB, free: 9.723 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.4963, allocations: 4 kB / 1.381 GB, free: 9.719 MB / 0.8855 GB Notification: Performance of matching and sorting (n=1): time 0.0001751/0.4965, allocations: 33.69 kB / 1.381 GB, free: 9.68 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.4965, allocations: 55.34 kB / 1.381 GB, free: 9.613 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.561e-05/0.4966, allocations: 85 kB / 1.381 GB, free: 9.523 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.4966, allocations: 29.83 kB / 1.381 GB, free: 9.488 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.989e-05/0.4967, allocations: 80.14 kB / 1.381 GB, free: 9.406 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.91e-05/0.4967, allocations: 0 / 1.381 GB, free: 9.406 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.984e-06/0.4967, allocations: 0 / 1.381 GB, free: 9.406 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.4968, allocations: 318.8 kB / 1.381 GB, free: 9.086 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.062e-05/0.4969, allocations: 0 / 1.381 GB, free: 9.086 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.528e-06/0.4969, allocations: 0 / 1.381 GB, free: 9.086 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.232e-05/0.4969, allocations: 4 kB / 1.381 GB, free: 9.082 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.4969, allocations: 3.953 kB / 1.381 GB, free: 9.078 MB / 0.8855 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.377e-05/0.497, allocations: 37.75 kB / 1.381 GB, free: 9.035 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.497, allocations: 4.938 kB / 1.381 GB, free: 9.031 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.497, allocations: 3.938 kB / 1.381 GB, free: 9.027 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.497, allocations: 0 / 1.381 GB, free: 9.027 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.163e-05/0.4971, allocations: 4 kB / 1.381 GB, free: 9.023 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.4971, allocations: 3.938 kB / 1.381 GB, free: 9.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.039e-05/0.4971, allocations: 0 / 1.381 GB, free: 9.02 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.4971, allocations: 0 / 1.381 GB, free: 9.02 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.304e-05/0.4972, allocations: 110.7 kB / 1.382 GB, free: 8.902 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.95e-05/0.4972, allocations: 11.86 kB / 1.382 GB, free: 8.891 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.082e-05/0.4973, allocations: 40.81 kB / 1.382 GB, free: 8.848 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.4974, allocations: 0 / 1.382 GB, free: 8.848 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.4974, allocations: 0 / 1.382 GB, free: 8.848 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.4974, allocations: 0 / 1.382 GB, free: 8.848 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001091/0.4975, allocations: 153.7 kB / 1.382 GB, free: 8.648 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4975, allocations: 0 / 1.382 GB, free: 8.648 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.335e-05/0.4975, allocations: 3.953 kB / 1.382 GB, free: 8.645 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.4975, allocations: 0 / 1.382 GB, free: 8.645 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.4975, allocations: 8.031 kB / 1.382 GB, free: 8.637 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.4975, allocations: 7.922 kB / 1.382 GB, free: 8.629 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.4975, allocations: 0 / 1.382 GB, free: 8.629 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.714e-05/0.4976, allocations: 65.05 kB / 1.382 GB, free: 8.547 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.402e-05/0.4977, allocations: 77.11 kB / 1.382 GB, free: 8.453 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.4977, allocations: 7.953 kB / 1.382 GB, free: 8.445 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.414e-06/0.4977, allocations: 0 / 1.382 GB, free: 8.445 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.321e-05/0.4978, allocations: 4.031 kB / 1.382 GB, free: 8.441 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-06/0.4978, allocations: 0 / 1.382 GB, free: 8.441 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.306e-05/0.4978, allocations: 75.28 kB / 1.382 GB, free: 8.367 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4978, allocations: 0 / 1.382 GB, free: 8.367 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002044/0.498, allocations: 16 kB / 1.382 GB, free: 8.352 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002484/0.4983, allocations: 115.2 kB / 1.382 GB, free: 8.23 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 7.204e-05/0.4983, allocations: 7.938 kB / 1.382 GB, free: 8.223 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.4984, allocations: 0 / 1.382 GB, free: 8.223 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 7.785e-06/0.4984, allocations: 8.062 kB / 1.382 GB, free: 8.215 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001001/0.4985, allocations: 0.8594 kB / 1.382 GB, free: 8.215 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002037/0.4987, allocations: 73.02 kB / 1.382 GB, free: 8.117 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000335/0.499, allocations: 0.677 MB / 1.383 GB, free: 7.414 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.087e-05/0.4991, allocations: 0 / 1.383 GB, free: 7.414 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.478e-05/0.4991, allocations: 11.44 kB / 1.383 GB, free: 7.402 MB / 0.8855 GB Notification: Performance of SimCode: time 3.2e-07/0.4991, allocations: 0 / 1.383 GB, free: 7.402 MB / 0.8855 GB Notification: Performance of Templates: time 0.002309/0.5014, allocations: 415.7 kB / 1.383 GB, free: 6.996 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches