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/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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001931/0.001931, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 223.2 MB / 239.9 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.717/2.717, allocations: 436.5 MB / 0.7104 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004233/0.0004235, allocations: 19.98 kB / 0.8708 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9407/0.9412, allocations: 153.7 MB / 1.021 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0007752/0.942, allocations: 313.4 kB / 1.021 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006429/0.9427, allocations: 299.2 kB / 1.021 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.101e-05/0.9427, allocations: 0 / 1.021 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.311e-05/0.9427, allocations: 4 kB / 1.021 GB, free: 476 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.23e-06/0.9427, allocations: 0 / 1.021 GB, free: 476 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000394/0.9431, allocations: 66.78 kB / 1.021 GB, free: 412 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.106e-05/0.9432, allocations: 0 / 1.021 GB, free: 412 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.213e-05/0.9432, allocations: 4 kB / 1.021 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.404e-05/0.9432, allocations: 0 / 1.021 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.288e-05/0.9433, allocations: 4 kB / 1.021 GB, free: 404 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.01e-05/0.9433, allocations: 3.938 kB / 1.021 GB, free: 400 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000381/0.9437, allocations: 259.7 kB / 1.022 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 7.214e-06/0.9437, allocations: 0 / 1.022 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.415e-05/0.9437, allocations: 25.7 kB / 1.022 GB, free: 108 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.9439, allocations: 55.89 kB / 1.022 GB, free: 52 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.9439, allocations: 3.938 kB / 1.022 GB, free: 48 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.984e-06/0.9439, allocations: 0 / 1.022 GB, free: 48 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.016e-05/0.9439, allocations: 4 kB / 1.022 GB, free: 44 kB / 0.7637 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.0003046/0.9442, allocations: 327.6 kB / 1.022 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.9442, allocations: 19.92 kB / 1.022 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.446e-05/0.9443, allocations: 4 kB / 1.022 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.857e-05/0.9444, allocations: 163.1 kB / 1.022 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.9444, allocations: 0 / 1.022 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/0.9444, allocations: 0 / 1.022 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.491e-05/0.9445, allocations: 33.66 kB / 1.022 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.9446, allocations: 0 / 1.022 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.9446, allocations: 0 / 1.022 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.9446, allocations: 0 / 1.022 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.603e-05/0.9446, allocations: 0 / 1.022 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001548/0.9448, allocations: 149.7 kB / 1.022 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.14e-05/0.9448, allocations: 26.52 kB / 1.023 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005223/0.9453, allocations: 421.6 kB / 1.023 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.9454, allocations: 34.56 kB / 1.023 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.463e-06/0.9454, allocations: 0 / 1.023 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001524/0.9455, allocations: 37.66 kB / 1.023 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.9456, allocations: 59.34 kB / 1.023 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.743e-05/0.9456, allocations: 93.84 kB / 1.023 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.9457, allocations: 25.7 kB / 1.023 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.762e-05/0.9457, allocations: 80.14 kB / 1.023 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/0.9457, allocations: 3.906 kB / 1.023 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-06/0.9457, allocations: 0 / 1.023 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.9459, allocations: 314.8 kB / 1.024 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.775e-06/0.9459, allocations: 4.125 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.559e-06/0.9459, allocations: 4 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.773e-05/0.9459, allocations: 0 / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.9459, allocations: 0 / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.811e-05/0.946, allocations: 33.7 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.946, allocations: 4 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.946, allocations: 3.984 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.946, allocations: 7.891 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.72e-05/0.9461, allocations: 4 kB / 1.024 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.9461, allocations: 8.031 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.437e-06/0.9461, allocations: 3.938 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.962e-06/0.9461, allocations: 0 / 1.024 GB, free: 13.91 MB / 0.7794 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 7.494e-05/0.9462, allocations: 105.8 kB / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.008e-05/0.9462, allocations: 4 kB / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.306e-05/0.9463, allocations: 44.8 kB / 1.024 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.9463, allocations: 4 kB / 1.024 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.9464, allocations: 7.984 kB / 1.024 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.9464, allocations: 0 / 1.024 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.642e-05/0.9465, allocations: 145.7 kB / 1.024 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.9465, allocations: 0 / 1.024 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.034e-05/0.9465, allocations: 4 kB / 1.024 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.9465, allocations: 0 / 1.024 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.9465, allocations: 3.984 kB / 1.024 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.9465, allocations: 0 / 1.024 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.9465, allocations: 0 / 1.024 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.99e-05/0.9466, allocations: 73.02 kB / 1.024 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.837e-05/0.9466, allocations: 77.11 kB / 1.024 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.676e-06/0.9467, allocations: 0 / 1.024 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.442e-06/0.9467, allocations: 0 / 1.024 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.544e-05/0.9467, allocations: 7.984 kB / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.9467, allocations: 0 / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.088e-05/0.9468, allocations: 79.23 kB / 1.024 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.9468, allocations: 0 / 1.024 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000188/0.947, allocations: 9.828 kB / 1.024 GB, free: 13.25 MB / 0.7794 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.0002164/0.9472, allocations: 111.3 kB / 1.024 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.465e-05/0.9473, allocations: 11.94 kB / 1.024 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.9473, allocations: 0 / 1.024 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.645e-06/0.9473, allocations: 3.984 kB / 1.024 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001086/0.9474, allocations: 8.234 kB / 1.024 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002461/0.9477, allocations: 70.7 kB / 1.024 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.948, allocations: 0.6811 MB / 1.025 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.938e-05/0.948, allocations: 4 kB / 1.025 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.221e-05/0.9481, allocations: 7.438 kB / 1.025 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.9481, allocations: 0 / 1.025 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of Templates: time 0.002892/0.951, allocations: 439.7 kB / 1.025 GB, free: 11.88 MB / 0.7794 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