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.001249/0.001249, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.392/1.392, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.552/2.552, allocations: 437.1 MB / 0.7104 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 67.89 kB / 0.8693 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6444/0.6458, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002744/0.6486, allocations: 1.441 MB / 1.019 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000727/0.6493, allocations: 391.5 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.558e-05/0.6494, allocations: 4 kB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.399e-05/0.6494, allocations: 0 / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.456e-05/0.6495, allocations: 3.938 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004029/0.6499, allocations: 107.7 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.087e-05/0.65, allocations: 27.92 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.203e-05/0.6501, allocations: 4 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.005e-05/0.6501, allocations: 11.92 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.687e-05/0.6502, allocations: 23.91 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.6502, allocations: 4 kB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003368/0.6505, allocations: 271.7 kB / 1.02 GB, free: 192 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.119e-05/0.6505, allocations: 0 / 1.02 GB, free: 192 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.628e-05/0.6506, allocations: 15.92 kB / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001784/0.6507, allocations: 103.8 kB / 1.02 GB, free: 72 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.6508, allocations: 3.938 kB / 1.02 GB, free: 68 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.173e-06/0.6508, allocations: 0 / 1.02 GB, free: 68 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.6508, allocations: 0 / 1.02 GB, free: 68 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.0004516/0.6512, allocations: 369.6 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.6513, allocations: 8.031 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.022e-05/0.6513, allocations: 38.75 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.557e-05/0.6514, allocations: 4.844 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.575e-05/0.6515, allocations: 168.4 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.6515, allocations: 384 / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.6515, allocations: 384 / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.6517, allocations: 50.23 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.6517, allocations: 3.938 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.6517, allocations: 4 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.6517, allocations: 0 / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001663/0.6519, allocations: 39.89 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002845/0.6522, allocations: 253 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.6523, allocations: 42.44 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.518e-05/0.6524, allocations: 20.91 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006506/0.6531, allocations: 465.4 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.6531, allocations: 34.56 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.6531, allocations: 0 / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003657/0.6535, allocations: 89.48 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.6535, allocations: 55.41 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.337e-05/0.6536, allocations: 105.8 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.6536, allocations: 33.83 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.679e-05/0.6536, allocations: 84.14 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.547e-05/0.6537, allocations: 3.906 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.329e-05/0.6537, allocations: 13.72 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.85e-05/0.6538, allocations: 318.8 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.367e-05/0.6539, allocations: 11.98 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.489e-05/0.654, allocations: 19.98 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.6541, allocations: 48.81 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.6541, allocations: 3.938 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002001/0.6543, allocations: 61.67 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.6544, allocations: 4 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.6544, allocations: 0 / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.6544, allocations: 8.016 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.098e-05/0.6545, allocations: 11.98 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.6545, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.571e-05/0.6545, allocations: 7.984 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.6545, allocations: 0 / 1.022 GB, free: 13.41 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 6.49e-05/0.6546, allocations: 117.8 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.64e-05/0.6547, allocations: 3.906 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000226/0.6549, allocations: 81.12 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.6549, allocations: 0 / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.6549, allocations: 0 / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.6549, allocations: 0 / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.655, allocations: 161.6 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.6551, allocations: 4 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.104e-05/0.6551, allocations: 7.984 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.6551, allocations: 0 / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.6552, allocations: 0 / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.6552, allocations: 8.031 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.6552, allocations: 3.938 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002352/0.6554, allocations: 167.4 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.227e-05/0.6555, allocations: 81.05 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.6555, allocations: 0 / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.284e-05/0.6555, allocations: 8.234 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.6556, allocations: 11.97 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.6556, allocations: 4 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.615e-05/0.6556, allocations: 87.27 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6556, allocations: 0 / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002249/0.6559, allocations: 16 kB / 1.023 GB, free: 12.56 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.0005243/0.6564, allocations: 0.7084 MB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002139/0.6566, allocations: 43.89 kB / 1.023 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.6566, allocations: 0 / 1.023 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.234e-05/0.6567, allocations: 15.98 kB / 1.024 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/0.657, allocations: 12.16 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000382/0.6574, allocations: 135.3 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002079/0.6576, allocations: 0.6768 MB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.245e-05/0.6577, allocations: 0 / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.889e-05/0.6577, allocations: 11.44 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.6577, allocations: 0 / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01801/0.6757, allocations: 1.574 MB / 1.026 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.065/7.741, allocations: 13.61 kB / 1.026 GB, free: 9.344 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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