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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_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.007931/0.007931, allocations: 100.5 kB / 15.73 MB, free: 5.953 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.001538/0.001539, allocations: 189.4 kB / 16.67 MB, free: 5.875 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.517/2.517, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001721/0.001721, allocations: 68.11 kB / 1.018 GB, free: 9.852 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.87/0.8717, allocations: 151.6 MB / 1.166 GB, free: 3.754 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001736/0.8735, allocations: 0.5831 MB / 1.167 GB, free: 3.176 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0006663/0.8742, allocations: 328.8 kB / 1.167 GB, free: 2.855 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.816e-05/0.8742, allocations: 0 / 1.167 GB, free: 2.855 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.228e-05/0.8743, allocations: 0 / 1.167 GB, free: 2.855 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.68e-06/0.8743, allocations: 0 / 1.167 GB, free: 2.855 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004637/0.8748, allocations: 116.8 kB / 1.167 GB, free: 2.742 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 4.039e-05/0.8748, allocations: 0 / 1.167 GB, free: 2.742 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.103e-05/0.8748, allocations: 0 / 1.167 GB, free: 2.742 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.438e-05/0.8749, allocations: 4 kB / 1.167 GB, free: 2.738 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 1.95e-05/0.8749, allocations: 0 / 1.167 GB, free: 2.738 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.638e-06/0.8749, allocations: 3.938 kB / 1.167 GB, free: 2.734 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004036/0.8753, allocations: 275.6 kB / 1.167 GB, free: 2.465 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.082e-05/0.8753, allocations: 0 / 1.167 GB, free: 2.465 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.073e-05/0.8754, allocations: 7.984 kB / 1.167 GB, free: 2.457 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002017/0.8756, allocations: 87.52 kB / 1.168 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.8756, allocations: 0 / 1.168 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8756, allocations: 0 / 1.168 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.834e-06/0.8756, allocations: 0 / 1.168 GB, free: 2.375 MB / 0.8887 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.0003445/0.8759, allocations: 331.3 kB / 1.168 GB, free: 2 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.876, allocations: 12.92 kB / 1.168 GB, free: 1.988 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.92e-05/0.876, allocations: 34.75 kB / 1.168 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.743e-05/0.8761, allocations: 4.875 kB / 1.168 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.351e-05/0.8762, allocations: 164.4 kB / 1.168 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.8762, allocations: 12.31 kB / 1.168 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.574e-06/0.8762, allocations: 384 / 1.168 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.712e-05/0.8763, allocations: 30.27 kB / 1.168 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.8763, allocations: 3.938 kB / 1.168 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.672e-06/0.8764, allocations: 0 / 1.168 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.8764, allocations: 0 / 1.168 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.109e-05/0.8764, allocations: 3.938 kB / 1.168 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001341/0.8765, allocations: 153.6 kB / 1.168 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.759e-05/0.8766, allocations: 25.05 kB / 1.168 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.711e-05/0.8766, allocations: 4.953 kB / 1.168 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004998/0.8771, allocations: 421.5 kB / 1.169 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.8772, allocations: 38.56 kB / 1.169 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.252e-06/0.8772, allocations: 4 kB / 1.169 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001527/0.8773, allocations: 41.53 kB / 1.169 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.8774, allocations: 51.41 kB / 1.169 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.351e-05/0.8774, allocations: 89.86 kB / 1.169 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.8774, allocations: 25.7 kB / 1.169 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.521e-05/0.8775, allocations: 80.14 kB / 1.169 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.8775, allocations: 7.984 kB / 1.169 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-05/0.8775, allocations: 13.72 kB / 1.169 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.8776, allocations: 315 kB / 1.169 GB, free: 236 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.976e-06/0.8777, allocations: 0 / 1.169 GB, free: 236 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.604e-06/0.8777, allocations: 4 kB / 1.169 GB, free: 232 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.424e-05/0.8777, allocations: 4.859 kB / 1.169 GB, free: 224 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.8777, allocations: 4 kB / 1.169 GB, free: 220 kB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.597e-05/0.8778, allocations: 33.64 kB / 1.169 GB, free: 180 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.8778, allocations: 7.984 kB / 1.169 GB, free: 172 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.8778, allocations: 3.938 kB / 1.169 GB, free: 168 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.8778, allocations: 4.094 kB / 1.169 GB, free: 164 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.769e-05/0.8779, allocations: 4 kB / 1.169 GB, free: 160 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.8779, allocations: 0 / 1.169 GB, free: 160 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.182e-05/0.8779, allocations: 0 / 1.169 GB, free: 160 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.8779, allocations: 3.938 kB / 1.169 GB, free: 156 kB / 0.8887 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.5e-05/0.878, allocations: 113.8 kB / 1.17 GB, free: 32 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.15e-05/0.878, allocations: 0 / 1.17 GB, free: 32 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001031/0.8781, allocations: 44.69 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.8781, allocations: 4.031 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.8782, allocations: 0 / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.8782, allocations: 3.984 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.442e-05/0.8783, allocations: 149.7 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.8783, allocations: 0 / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.418e-05/0.8783, allocations: 0 / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.8783, allocations: 7.922 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.8783, allocations: 7.938 kB / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.8783, allocations: 4 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.8783, allocations: 0 / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.043e-05/0.8784, allocations: 53.14 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.129e-05/0.8784, allocations: 77.11 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.8785, allocations: 11.92 kB / 1.17 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.344e-06/0.8785, allocations: 0 / 1.17 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.144e-05/0.8785, allocations: 3.938 kB / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.8785, allocations: 4 kB / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 2.505e-05/0.8785, allocations: 75.28 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8785, allocations: 4.031 kB / 1.17 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001969/0.8787, allocations: 12 kB / 1.17 GB, free: 15.48 MB / 0.9044 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.0004384/0.8792, allocations: 0.6085 MB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 6.849e-05/0.8793, allocations: 4 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.8793, allocations: 4.094 kB / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.113e-05/0.8793, allocations: 7.938 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001265/0.8794, allocations: 0 / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002774/0.8797, allocations: 106.6 kB / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.88, allocations: 0.669 MB / 1.171 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.934e-05/0.88, allocations: 4 kB / 1.171 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.571e-05/0.88, allocations: 7.438 kB / 1.171 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of SimCode: time 2.71e-07/0.88, allocations: 0 / 1.171 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01905/0.8991, allocations: 1.185 MB / 1.172 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.573/8.472, allocations: 25.75 kB / 1.173 GB, free: 12.86 MB / 0.9044 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_10_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/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