Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001228/0.001228, allocations: 190 kB / 16.25 MB, free: 6.637 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.345/1.345, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.466/2.466, allocations: 437 MB / 0.7101 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001344, allocations: 63.91 kB / 0.8688 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6478/0.6492, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002897/0.6521, allocations: 1.503 MB / 1.018 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007438/0.6529, allocations: 391.5 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.905e-05/0.6529, allocations: 0 / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.785e-05/0.653, allocations: 3.938 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.026e-05/0.6531, allocations: 0 / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004746/0.6535, allocations: 99.83 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.499e-05/0.6536, allocations: 27.92 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.55e-05/0.6537, allocations: 8 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.607e-05/0.6538, allocations: 11.92 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.156e-05/0.6538, allocations: 15.92 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.6538, allocations: 0 / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003466/0.6542, allocations: 271.7 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.42e-05/0.6542, allocations: 4 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.679e-05/0.6542, allocations: 11.92 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.6544, allocations: 111.7 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.6545, allocations: 0 / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6545, allocations: 4 kB / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.6545, allocations: 4 kB / 1.019 GB, free: 248 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004646/0.6549, allocations: 373.6 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.655, allocations: 8.031 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.115e-05/0.655, allocations: 30.75 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.368e-05/0.6551, allocations: 8.844 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.6552, allocations: 160.4 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.6552, allocations: 384 / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.6552, allocations: 4.375 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.6554, allocations: 50.23 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.6554, allocations: 7.938 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.6554, allocations: 0 / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.6555, allocations: 0 / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001578/0.6556, allocations: 39.89 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003117/0.6559, allocations: 257 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.6561, allocations: 38.5 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.409e-05/0.6562, allocations: 28.84 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006447/0.6568, allocations: 457.5 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.6569, allocations: 34.56 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/0.6569, allocations: 0 / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003619/0.6572, allocations: 93.58 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.6573, allocations: 51.41 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.938e-05/0.6573, allocations: 105.8 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.6574, allocations: 25.7 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.871e-05/0.6574, allocations: 84.14 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.844e-05/0.6574, allocations: 7.906 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/0.6575, allocations: 9.719 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.892e-05/0.6576, allocations: 318.8 kB / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.713e-05/0.6576, allocations: 20.02 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.845e-05/0.6577, allocations: 15.98 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.6579, allocations: 40.81 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.6579, allocations: 3.938 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001965/0.6581, allocations: 69.67 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.6581, allocations: 4 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.6581, allocations: 4 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.6581, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.028e-05/0.6582, allocations: 7.984 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.6582, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.725e-05/0.6583, allocations: 11.98 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.6583, allocations: 0 / 1.022 GB, free: 13.59 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 (2): * Single equations (assignments): 2 * 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.47e-05/0.6584, allocations: 122.3 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.964e-05/0.6584, allocations: 3.906 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002207/0.6586, allocations: 77.38 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.6586, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.6587, allocations: 4 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.6587, allocations: 4 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.6588, allocations: 161.6 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.6588, allocations: 0 / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.657e-05/0.6589, allocations: 16.02 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.6589, allocations: 0 / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.6589, allocations: 3.938 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.6589, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.6589, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/0.6592, allocations: 167.5 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.607e-05/0.6592, allocations: 88.98 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.6592, allocations: 0 / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.322e-05/0.6593, allocations: 7.984 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/0.6594, allocations: 0 / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.6594, allocations: 0 / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.446e-05/0.6594, allocations: 87.27 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.81e-07/0.6594, allocations: 0 / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002261/0.6597, allocations: 20 kB / 1.022 GB, free: 12.75 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 (2): * Single equations (assignments): 2 * 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.000546/0.6602, allocations: 0.7116 MB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002088/0.6604, allocations: 47.89 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.6605, allocations: 4.094 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.014e-05/0.6605, allocations: 15.98 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.6608, allocations: 7.984 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004069/0.6612, allocations: 143.3 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002139/0.6615, allocations: 0.6768 MB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.528e-05/0.6615, allocations: 4.062 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.455e-05/0.6615, allocations: 15.44 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.6615, allocations: 0 / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.067/1.728, allocations: 1.444 MB / 1.025 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002122/1.728, allocations: 198.5 kB / 1.025 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.831/3.559, allocations: 3.094 kB / 1.025 GB, free: 9.441 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_RegNonZeroPower.fmu > Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches