Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",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.006135/0.006134, allocations: 100.7 kB / 15.73 MB, free: 6.016 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.001395/0.001395, allocations: 185.8 kB / 16.67 MB, free: 5.934 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.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.343/2.343, allocations: 437 MB / 0.7105 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 67.84 kB / 1.018 GB, free: 9.91 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7319/0.7331, allocations: 151.6 MB / 1.166 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002573/0.7357, allocations: 1.543 MB / 1.168 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001132/0.7359, allocations: 31.88 kB / 1.168 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.653e-05/0.7359, allocations: 0 / 1.168 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.736, allocations: 11.92 kB / 1.168 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.45e-05/0.7361, allocations: 11.92 kB / 1.168 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 9.446e-05/0.7362, allocations: 19.97 kB / 1.168 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.067e-05/0.7363, allocations: 47.78 kB / 1.168 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.7364, allocations: 31.94 kB / 1.168 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.419e-05/0.7364, allocations: 27.92 kB / 1.168 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.771e-05/0.7365, allocations: 27.86 kB / 1.168 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.7365, allocations: 4 kB / 1.168 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.033e-05/0.7365, allocations: 4 kB / 1.168 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.26e-05/0.7366, allocations: 15.98 kB / 1.168 GB, free: 2 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.803e-05/0.7366, allocations: 31.78 kB / 1.168 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.7367, allocations: 54.48 kB / 1.168 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.7368, allocations: 0 / 1.168 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7368, allocations: 0 / 1.168 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.807e-06/0.7368, allocations: 0 / 1.168 GB, free: 1.918 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003736/0.7372, allocations: 376.1 kB / 1.168 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.7372, allocations: 8.922 kB / 1.168 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.74e-05/0.7372, allocations: 50.67 kB / 1.168 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.382e-05/0.7373, allocations: 4.891 kB / 1.168 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.7374, allocations: 184.3 kB / 1.169 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.7375, allocations: 384 / 1.169 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.7375, allocations: 8.375 kB / 1.169 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.7376, allocations: 104.7 kB / 1.169 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.7376, allocations: 3.938 kB / 1.169 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.7377, allocations: 4 kB / 1.169 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/0.7377, allocations: 4 kB / 1.169 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.778e-05/0.7378, allocations: 43.91 kB / 1.169 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005408/0.7383, allocations: 0.6479 MB / 1.169 GB, free: 332 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 7.82e-05/0.7384, allocations: 165.1 kB / 1.17 GB, free: 156 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.895e-05/0.7384, allocations: 80.14 kB / 1.17 GB, free: 72 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.637e-05/0.7385, allocations: 75.28 kB / 1.17 GB, free: 16 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.768e-05/0.7385, allocations: 109.8 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.7385, allocations: 0 / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 7.405e-05/0.7386, allocations: 49.52 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.967e-05/0.7387, allocations: 130.7 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.7388, allocations: 161.7 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.7389, allocations: 29.7 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.505e-05/0.7389, allocations: 104 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.987e-06/0.7389, allocations: 3.984 kB / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.047e-05/0.739, allocations: 17.72 kB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.7391, allocations: 314.8 kB / 1.171 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.727e-05/0.7391, allocations: 7.984 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.06e-05/0.7391, allocations: 26.52 kB / 1.171 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.752e-05/0.7392, allocations: 26.52 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.7392, allocations: 4 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001109/0.7393, allocations: 57.58 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.7393, allocations: 8 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.7393, allocations: 3.938 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.7394, allocations: 0 / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.293e-05/0.7394, allocations: 4 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.7394, allocations: 4 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.404e-05/0.7395, allocations: 7.891 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.7395, allocations: 4.094 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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 9.917e-05/0.7396, allocations: 197.1 kB / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.601e-05/0.7397, allocations: 112.9 kB / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.922e-05/0.7397, allocations: 116.8 kB / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.039e-05/0.7398, allocations: 184.2 kB / 1.171 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.026e-05/0.7398, allocations: 176.3 kB / 1.171 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.254e-05/0.7399, allocations: 184.3 kB / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002302/0.7401, allocations: 425.1 kB / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.789e-05/0.7402, allocations: 101 kB / 1.172 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.414e-05/0.7402, allocations: 113 kB / 1.172 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.557e-05/0.7403, allocations: 180.3 kB / 1.172 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.525e-05/0.7404, allocations: 188.2 kB / 1.173 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.523e-05/0.7404, allocations: 180.2 kB / 1.173 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.113e-05/0.7405, allocations: 180.2 kB / 1.173 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001329/0.7406, allocations: 312 kB / 1.173 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.54e-05/0.7407, allocations: 194 kB / 1.173 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.539e-05/0.7408, allocations: 192.2 kB / 1.174 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.647e-05/0.7409, allocations: 105 kB / 1.174 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.368e-05/0.7409, allocations: 188.3 kB / 1.174 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.022e-05/0.741, allocations: 101 kB / 1.174 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.927e-05/0.7411, allocations: 131.1 kB / 1.174 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7411, allocations: 4 kB / 1.174 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002122/0.7413, allocations: 4 kB / 1.174 GB, free: 11.13 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 (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.0003734/0.7417, allocations: 0.8164 MB / 1.175 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 6.496e-05/0.7417, allocations: 11.98 kB / 1.175 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.7418, allocations: 192 / 1.175 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.555e-06/0.7418, allocations: 11.88 kB / 1.175 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.7421, allocations: 461.4 kB / 1.175 GB, free: 9.812 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.7434, allocations: 1.638 MB / 1.177 GB, free: 8.086 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.7437, allocations: 0.6885 MB / 1.178 GB, free: 7.371 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.027e-05/0.7437, allocations: 7.984 kB / 1.178 GB, free: 7.363 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.571e-05/0.7437, allocations: 15.44 kB / 1.178 GB, free: 7.348 MB / 0.9044 GB Notification: Performance of SimCode: time 3e-07/0.7437, allocations: 0 / 1.178 GB, free: 7.348 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01679/0.7605, allocations: 1.716 MB / 1.179 GB, free: 5.742 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.225/7.986, allocations: 13.39 kB / 1.179 GB, free: 5.734 MB / 0.9044 GB (rm -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches