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.341/2.341, allocations: 390.5 MB / 398 MB, free: 10.94 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.001103/0.001102, allocations: 192.8 kB / 491.2 MB, free: 1.551 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.663/1.663, allocations: 221.5 MB / 0.7868 GB, free: 13.24 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.0009964/0.0009961, allocations: 101.2 kB / 0.9269 GB, free: 13.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.44e-05/2.441e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2948, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.005/1.299, allocations: 149.2 MB / 1.358 GB, free: 17.58 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001774/1.3, allocations: 74.58 kB / 1.358 GB, free: 17.58 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01032/1.31, allocations: 4.038 MB / 1.362 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.463e-06/1.31, allocations: 0 / 1.362 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.514e-06/1.31, allocations: 0 / 1.362 GB, free: 33.05 MB / 0.8386 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.0002224/1.31, allocations: 338.3 kB / 1.362 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/1.31, allocations: 7.656 kB / 1.362 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.812e-05/1.31, allocations: 0 / 1.362 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.905e-05/1.31, allocations: 168.7 kB / 1.363 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/1.31, allocations: 4 kB / 1.363 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.938e-06/1.31, allocations: 3.844 kB / 1.363 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.329e-05/1.31, allocations: 2.75 kB / 1.363 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.514e-05/1.311, allocations: 27.53 kB / 1.363 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/1.311, allocations: 0 / 1.363 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/1.311, allocations: 7.844 kB / 1.363 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-06/1.311, allocations: 0 / 1.363 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.041e-05/1.311, allocations: 127.4 kB / 1.363 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 2.678e-05/1.311, allocations: 18.52 kB / 1.363 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.372e-05/1.311, allocations: 15.55 kB / 1.363 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003296/1.311, allocations: 424.3 kB / 1.363 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/1.311, allocations: 34.78 kB / 1.363 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/1.311, allocations: 0 / 1.363 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001372/1.311, allocations: 29.55 kB / 1.363 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.682e-05/1.311, allocations: 52.91 kB / 1.363 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.063e-05/1.311, allocations: 85 kB / 1.363 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.963e-06/1.311, allocations: 30.11 kB / 1.363 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.254e-05/1.311, allocations: 84.17 kB / 1.363 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/1.311, allocations: 0 / 1.363 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.094e-06/1.311, allocations: 0 / 1.363 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.366e-05/1.311, allocations: 314.7 kB / 1.364 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.472e-06/1.311, allocations: 0 / 1.364 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.959e-06/1.311, allocations: 8.812 kB / 1.364 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.533e-05/1.311, allocations: 0 / 1.364 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/1.312, allocations: 0 / 1.364 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.593e-05/1.312, allocations: 43.39 kB / 1.364 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/1.312, allocations: 9.406 kB / 1.364 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/1.312, allocations: 1.594 kB / 1.364 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/1.312, allocations: 0 / 1.364 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.84e-05/1.312, allocations: 0 / 1.364 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.417e-06/1.312, allocations: 3.844 kB / 1.364 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.578e-06/1.312, allocations: 0 / 1.364 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/1.312, allocations: 0 / 1.364 GB, free: 31.08 MB / 0.8386 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 () * 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 4.975e-05/1.312, allocations: 102.4 kB / 1.364 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.909e-05/1.312, allocations: 3.953 kB / 1.364 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.528e-05/1.312, allocations: 46.44 kB / 1.364 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/1.312, allocations: 3.938 kB / 1.364 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/1.312, allocations: 1.547 kB / 1.364 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/1.312, allocations: 0 / 1.364 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.274e-05/1.312, allocations: 126.9 kB / 1.364 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/1.312, allocations: 0 / 1.364 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.136e-05/1.312, allocations: 3.812 kB / 1.364 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/1.312, allocations: 3.938 kB / 1.364 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-06/1.312, allocations: 3.953 kB / 1.364 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/1.312, allocations: 5.344 kB / 1.364 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.312, allocations: 0 / 1.364 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.537e-05/1.312, allocations: 54.55 kB / 1.364 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.551e-05/1.312, allocations: 78.56 kB / 1.364 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.337e-06/1.312, allocations: 0 / 1.364 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.704e-06/1.312, allocations: 7.891 kB / 1.364 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.007e-05/1.312, allocations: 3.812 kB / 1.364 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/1.312, allocations: 8.031 kB / 1.364 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.305e-05/1.312, allocations: 76.88 kB / 1.364 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.312, allocations: 0 / 1.364 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001751/1.312, allocations: 15.62 kB / 1.364 GB, free: 30.51 MB / 0.8386 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 () * 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.0001475/1.312, allocations: 111.5 kB / 1.364 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.134e-05/1.313, allocations: 3.75 kB / 1.364 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/1.313, allocations: 0 / 1.364 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.992e-06/1.313, allocations: 5.203 kB / 1.364 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.267e-05/1.313, allocations: 5.156 kB / 1.364 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001184/1.313, allocations: 49.42 kB / 1.365 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/1.313, allocations: 0.6744 MB / 1.365 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.665e-05/1.313, allocations: 4.719 kB / 1.365 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.767e-06/1.313, allocations: 7.438 kB / 1.365 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of SimCode: time 2.31e-07/1.313, allocations: 0 / 1.365 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of Templates: time 0.002148/1.315, allocations: 426.5 kB / 1.366 GB, free: 29.58 MB / 0.8386 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