Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.000871/0.0008712, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001029/0.001029, allocations: 168.7 kB / 15.95 MB, free: 204 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.566/1.566, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.95/2.95, allocations: 437.7 MB / 0.7117 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004306/0.000431, allocations: 12 kB / 0.8722 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8437/0.8442, allocations: 153.8 MB / 1.022 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0007893/0.845, allocations: 321.4 kB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0006141/0.8457, allocations: 295.3 kB / 1.023 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.277e-06/0.8457, allocations: 0 / 1.023 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.008e-05/0.8457, allocations: 0 / 1.023 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.338e-06/0.8457, allocations: 0 / 1.023 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003772/0.8461, allocations: 67.8 kB / 1.023 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 3.741e-05/0.8461, allocations: 0 / 1.023 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.324e-05/0.8462, allocations: 11.98 kB / 1.023 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.517e-05/0.8462, allocations: 0 / 1.023 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.984e-05/0.8463, allocations: 7.938 kB / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.8463, allocations: 0 / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003988/0.8467, allocations: 271.6 kB / 1.023 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.067e-06/0.8467, allocations: 3.984 kB / 1.023 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.936e-05/0.8467, allocations: 25.7 kB / 1.023 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000125/0.8469, allocations: 51.91 kB / 1.023 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.8469, allocations: 0 / 1.023 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8469, allocations: 0 / 1.023 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.237e-06/0.8469, allocations: 0 / 1.023 GB, free: 15.13 MB / 0.7794 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.0003301/0.8472, allocations: 339.4 kB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.8473, allocations: 8.031 kB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.259e-05/0.8473, allocations: 0 / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.876e-05/0.8474, allocations: 163.1 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.8475, allocations: 0 / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.8475, allocations: 11.92 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.8476, allocations: 29.66 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.8476, allocations: 0 / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.8476, allocations: 0 / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.8476, allocations: 4 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.059e-05/0.8477, allocations: 4 kB / 1.024 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000159/0.8478, allocations: 145.7 kB / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.662e-05/0.8479, allocations: 18.56 kB / 1.024 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.176e-05/0.8479, allocations: 12.89 kB / 1.024 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006099/0.8485, allocations: 429.5 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/0.8486, allocations: 34.52 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.183e-06/0.8486, allocations: 0 / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001823/0.8488, allocations: 29.7 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.8488, allocations: 51.41 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.177e-05/0.8489, allocations: 89.86 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.8489, allocations: 25.7 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.931e-05/0.8489, allocations: 96.2 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.849, allocations: 3.906 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.963e-06/0.849, allocations: 0 / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.8491, allocations: 314.8 kB / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.052e-05/0.8491, allocations: 3.938 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.529e-06/0.8491, allocations: 0 / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.766e-05/0.8491, allocations: 4 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.8492, allocations: 0 / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.17e-05/0.8492, allocations: 33.77 kB / 1.025 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.8493, allocations: 8 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.8493, allocations: 0 / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.8493, allocations: 3.953 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.272e-05/0.8493, allocations: 3.938 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.8493, allocations: 3.984 kB / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.286e-05/0.8494, allocations: 4 kB / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.8494, allocations: 0 / 1.025 GB, free: 12.99 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.509e-05/0.8495, allocations: 113.8 kB / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.834e-05/0.8495, allocations: 4.031 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.019e-05/0.8496, allocations: 44.75 kB / 1.025 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.8496, allocations: 7.953 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.8496, allocations: 3.984 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.8496, allocations: 0 / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.762e-05/0.8497, allocations: 141.7 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.8497, allocations: 0 / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.372e-05/0.8497, allocations: 4 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.8497, allocations: 0 / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.8498, allocations: 8.031 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.8498, allocations: 0 / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.8498, allocations: 3.953 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.912e-05/0.8499, allocations: 61.06 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.741e-05/0.8499, allocations: 77.11 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.068e-05/0.8499, allocations: 0 / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.053e-06/0.8499, allocations: 0 / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.746e-05/0.85, allocations: 4.031 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-06/0.85, allocations: 3.953 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.193e-05/0.85, allocations: 83.28 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.85, allocations: 3.938 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002108/0.8502, allocations: 14.09 kB / 1.026 GB, free: 12.32 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.0002128/0.8504, allocations: 111.2 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.026e-05/0.8505, allocations: 4 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.8505, allocations: 0 / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.995e-06/0.8505, allocations: 4.062 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001412/0.8507, allocations: 6.047 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001819/0.8509, allocations: 82.53 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.8512, allocations: 0.6692 MB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.749e-05/0.8512, allocations: 0 / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.723e-05/0.8512, allocations: 15.44 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.8512, allocations: 0 / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of Templates: time 0.002606/0.8538, allocations: 443.8 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches