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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001474/0.001474, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001806/0.001806, allocations: 195.9 kB / 16.26 MB, free: 6.629 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.458/1.458, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.588/2.588, allocations: 437 MB / 0.71 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 71.88 kB / 0.8687 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6435/0.6448, allocations: 151.6 MB / 1.017 GB, free: 2.895 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001863/0.6467, allocations: 0.6566 MB / 1.017 GB, free: 2.234 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006225/0.6474, allocations: 326.8 kB / 1.018 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.128e-05/0.6474, allocations: 0 / 1.018 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.503e-05/0.6474, allocations: 0 / 1.018 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.53e-06/0.6475, allocations: 4 kB / 1.018 GB, free: 1.91 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004459/0.6479, allocations: 93.09 kB / 1.018 GB, free: 1.82 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.251e-05/0.648, allocations: 4 kB / 1.018 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.891e-05/0.648, allocations: 0 / 1.018 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.549e-05/0.648, allocations: 4 kB / 1.018 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.093e-05/0.648, allocations: 7.969 kB / 1.018 GB, free: 1.805 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 8.977e-06/0.6481, allocations: 0 / 1.018 GB, free: 1.805 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003685/0.6484, allocations: 267.7 kB / 1.018 GB, free: 1.543 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.112e-05/0.6485, allocations: 7.938 kB / 1.018 GB, free: 1.535 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.004e-05/0.6485, allocations: 4 kB / 1.018 GB, free: 1.531 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.6486, allocations: 79.86 kB / 1.018 GB, free: 1.453 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.6487, allocations: 0 / 1.018 GB, free: 1.453 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.844e-06/0.6487, allocations: 0 / 1.018 GB, free: 1.453 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.6487, allocations: 0 / 1.018 GB, free: 1.453 MB / 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.0003068/0.649, allocations: 339.5 kB / 1.019 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.649, allocations: 12.03 kB / 1.019 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.228e-05/0.6491, allocations: 0.9375 kB / 1.019 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.597e-05/0.6492, allocations: 168.3 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.695e-06/0.6492, allocations: 4.375 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.877e-06/0.6492, allocations: 384 / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.982e-05/0.6493, allocations: 30.27 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-06/0.6493, allocations: 192 / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.607e-06/0.6493, allocations: 3.938 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.6493, allocations: 0 / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.801e-05/0.6494, allocations: 0 / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001303/0.6495, allocations: 149.7 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 3.476e-05/0.6495, allocations: 22.52 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.606e-05/0.6495, allocations: 8.844 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000501/0.6501, allocations: 425.6 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.6501, allocations: 30.56 kB / 1.019 GB, free: 28 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 1.223e-06/0.6501, allocations: 8 kB / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001601/0.6503, allocations: 33.64 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.6503, allocations: 55.41 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.206e-05/0.6503, allocations: 89.86 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.6504, allocations: 25.7 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.559e-05/0.6504, allocations: 80.14 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/0.6504, allocations: 7.844 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/0.6504, allocations: 17.7 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.6506, allocations: 315 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.578e-06/0.6506, allocations: 0 / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.085e-06/0.6506, allocations: 4 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.664e-05/0.6506, allocations: 8.859 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.6506, allocations: 0 / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.256e-05/0.6507, allocations: 33.7 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.6507, allocations: 4 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.6507, allocations: 0 / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.6508, allocations: 11.97 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.451e-05/0.6508, allocations: 7.984 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.6508, allocations: 3.938 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.045e-05/0.6508, allocations: 4 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.6508, allocations: 7.938 kB / 1.02 GB, free: 15.26 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.203e-05/0.6509, allocations: 105.8 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.843e-05/0.6509, allocations: 4 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.494e-05/0.651, allocations: 50.86 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.651, allocations: 0 / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.651, allocations: 0 / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.6511, allocations: 0 / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.667e-05/0.6512, allocations: 149.7 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.6512, allocations: 0 / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.126e-05/0.6512, allocations: 0 / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.6512, allocations: 0 / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.6512, allocations: 3.938 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.6512, allocations: 0 / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.6512, allocations: 7.984 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.464e-05/0.6513, allocations: 61.11 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.06e-05/0.6513, allocations: 77.11 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.6513, allocations: 7.938 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.732e-06/0.6514, allocations: 0 / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.607e-05/0.6514, allocations: 7.969 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/0.6514, allocations: 0 / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.47e-05/0.6514, allocations: 75.28 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6514, allocations: 4.031 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001905/0.6516, allocations: 8 kB / 1.021 GB, free: 14.61 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 (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.0001806/0.6518, allocations: 115.2 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.46e-05/0.6519, allocations: 11.94 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6519, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.006e-05/0.6519, allocations: 7.984 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001311/0.652, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001801/0.6522, allocations: 83.06 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000207/0.6524, allocations: 0.669 MB / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.697e-05/0.6525, allocations: 0 / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.272e-05/0.6525, allocations: 11.38 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.6525, allocations: 0 / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of Templates: time 0.002556/0.6551, allocations: 464.3 kB / 1.022 GB, free: 13.2 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