Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.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.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_10_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_10_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad",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.004524/0.004524, allocations: 97.11 kB / 15.73 MB, free: 6.047 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.001112/0.001113, allocations: 194.5 kB / 16.68 MB, free: 5.973 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.55/2.55, allocations: 437 MB / 0.7105 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 59.89 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3321, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002591/0.3347, allocations: 1.227 MB / 1.167 GB, free: 6.051 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002079/0.3368, allocations: 1.255 MB / 1.169 GB, free: 4.789 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.563e-05/0.3369, allocations: 0 / 1.169 GB, free: 4.789 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.132e-05/0.3369, allocations: 0 / 1.169 GB, free: 4.789 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000842/0.3378, allocations: 211.3 kB / 1.169 GB, free: 4.582 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001166/0.3379, allocations: 35.94 kB / 1.169 GB, free: 4.547 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.127e-05/0.338, allocations: 11.94 kB / 1.169 GB, free: 4.535 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.64e-05/0.3381, allocations: 4 kB / 1.169 GB, free: 4.531 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.764e-05/0.3381, allocations: 11.92 kB / 1.169 GB, free: 4.52 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1809/0.5189, allocations: 30.9 MB / 1.199 GB, free: 8.75 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.515e-05/0.519, allocations: 0 / 1.199 GB, free: 8.75 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.518e-05/0.519, allocations: 0 / 1.199 GB, free: 8.75 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.321e-05/0.519, allocations: 0 / 1.199 GB, free: 8.75 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.698e-05/0.5191, allocations: 7.938 kB / 1.199 GB, free: 8.742 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.5192, allocations: 15.97 kB / 1.199 GB, free: 8.727 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.5193, allocations: 0 / 1.199 GB, free: 8.727 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.015e-06/0.5193, allocations: 0 / 1.199 GB, free: 8.727 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.6e-05/0.5193, allocations: 0 / 1.199 GB, free: 8.727 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004318/0.5197, allocations: 327.4 kB / 1.199 GB, free: 8.359 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.962e-05/0.5198, allocations: 16.02 kB / 1.199 GB, free: 8.344 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.654e-05/0.5199, allocations: 106 kB / 1.199 GB, free: 8.23 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.637e-05/0.52, allocations: 80.2 kB / 1.2 GB, free: 8.152 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/0.5202, allocations: 243.7 kB / 1.2 GB, free: 7.875 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.473e-05/0.5203, allocations: 154.9 kB / 1.2 GB, free: 7.723 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.671e-05/0.5203, allocations: 150.9 kB / 1.2 GB, free: 7.574 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.209e-05/0.5204, allocations: 104.9 kB / 1.2 GB, free: 7.465 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.421e-05/0.5205, allocations: 75.28 kB / 1.2 GB, free: 7.391 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.565e-05/0.5206, allocations: 150.6 kB / 1.2 GB, free: 7.242 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.182e-05/0.5206, allocations: 162.4 kB / 1.201 GB, free: 7.082 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.301e-05/0.5207, allocations: 154.5 kB / 1.201 GB, free: 6.93 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003178/0.521, allocations: 449.9 kB / 1.201 GB, free: 6.441 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.5211, allocations: 165.1 kB / 1.201 GB, free: 6.27 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.648e-05/0.5212, allocations: 88.14 kB / 1.201 GB, free: 6.18 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.668e-05/0.5212, allocations: 79.22 kB / 1.201 GB, free: 6.102 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.575e-05/0.5213, allocations: 117.8 kB / 1.202 GB, free: 5.977 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.5213, allocations: 0 / 1.202 GB, free: 5.977 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 0.0001027/0.5214, allocations: 33.64 kB / 1.202 GB, free: 5.938 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/0.5215, allocations: 203.8 kB / 1.202 GB, free: 5.707 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.5217, allocations: 101.9 kB / 1.202 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.5217, allocations: 29.7 kB / 1.202 GB, free: 5.562 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.415e-05/0.5218, allocations: 80.14 kB / 1.202 GB, free: 5.48 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.875e-06/0.5218, allocations: 0 / 1.202 GB, free: 5.48 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-05/0.5218, allocations: 17.7 kB / 1.202 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.5219, allocations: 310.8 kB / 1.202 GB, free: 5.145 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.454e-06/0.522, allocations: 4 kB / 1.202 GB, free: 5.141 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.355e-05/0.522, allocations: 26.52 kB / 1.202 GB, free: 5.105 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.381e-05/0.522, allocations: 75.28 kB / 1.202 GB, free: 5.031 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.888e-05/0.5221, allocations: 75.28 kB / 1.202 GB, free: 4.957 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.809e-05/0.5221, allocations: 41.69 kB / 1.203 GB, free: 4.91 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.881e-05/0.5222, allocations: 83.27 kB / 1.203 GB, free: 4.828 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.299e-05/0.5222, allocations: 79.28 kB / 1.203 GB, free: 4.75 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.837e-05/0.5223, allocations: 154.5 kB / 1.203 GB, free: 4.598 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.21e-05/0.5224, allocations: 79.28 kB / 1.203 GB, free: 4.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.599e-05/0.5224, allocations: 154.5 kB / 1.203 GB, free: 4.367 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/0.5226, allocations: 83.28 kB / 1.203 GB, free: 4.285 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.043e-05/0.5227, allocations: 79.27 kB / 1.203 GB, free: 4.207 MB / 0.9512 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 (0): * Single equations (assignments): 0 * 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 0.0001466/0.5228, allocations: 264.3 kB / 1.203 GB, free: 3.938 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.763e-05/0.5229, allocations: 108.9 kB / 1.204 GB, free: 3.824 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.439e-05/0.523, allocations: 112.1 kB / 1.204 GB, free: 3.707 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.099e-05/0.523, allocations: 180.2 kB / 1.204 GB, free: 3.523 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-05/0.5231, allocations: 180.2 kB / 1.204 GB, free: 3.34 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.016e-05/0.5232, allocations: 176.3 kB / 1.204 GB, free: 3.16 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002406/0.5234, allocations: 413.2 kB / 1.205 GB, free: 2.699 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.672e-05/0.5235, allocations: 104.9 kB / 1.205 GB, free: 2.59 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.736e-05/0.5236, allocations: 112.9 kB / 1.205 GB, free: 2.473 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.357e-05/0.5236, allocations: 176.3 kB / 1.205 GB, free: 2.293 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.292e-05/0.5237, allocations: 180.2 kB / 1.205 GB, free: 2.109 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.26e-05/0.5238, allocations: 180.3 kB / 1.205 GB, free: 1.926 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.328e-05/0.5239, allocations: 188.2 kB / 1.205 GB, free: 1.734 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.524, allocations: 303.8 kB / 1.206 GB, free: 1.414 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.91e-05/0.5241, allocations: 186.2 kB / 1.206 GB, free: 1.207 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.762e-05/0.5242, allocations: 188.2 kB / 1.206 GB, free: 1.016 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.5244, allocations: 105 kB / 1.206 GB, free: 0.9062 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.938e-05/0.5245, allocations: 188.2 kB / 1.206 GB, free: 0.7148 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.86e-05/0.5245, allocations: 105 kB / 1.206 GB, free: 0.6055 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.925e-05/0.5246, allocations: 79.27 kB / 1.207 GB, free: 0.5273 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5246, allocations: 0 / 1.207 GB, free: 0.5273 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003047/0.5249, allocations: 4 kB / 1.207 GB, free: 0.5234 MB / 0.9512 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 (0): * Single equations (assignments): 0 * 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.0004595/0.5254, allocations: 0.8165 MB / 1.207 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 6.918e-05/0.5254, allocations: 496 / 1.207 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.5254, allocations: 0 / 1.207 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.044e-06/0.5254, allocations: 0 / 1.207 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/0.5258, allocations: 463.7 kB / 1.208 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004417/0.5263, allocations: 194.4 kB / 1.208 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.5265, allocations: 0.6729 MB / 1.209 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.355e-05/0.5266, allocations: 4 kB / 1.209 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.669e-05/0.5266, allocations: 7.438 kB / 1.209 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of SimCode: time 7.21e-07/0.5266, allocations: 0 / 1.209 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03027/0.5569, allocations: 1.285 MB / 1.21 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.351/7.908, allocations: 8 kB / 1.21 GB, free: 13 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_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_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad.fmu > Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches