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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001813/0.001812, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00181/0.00181, allocations: 195.1 kB / 16.14 MB, free: 6.648 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.15/1.15, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.348/2.348, allocations: 437 MB / 0.7099 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 71.88 kB / 0.8687 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4919/0.4932, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002524/0.4958, allocations: 1.589 MB / 1.018 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000107/0.4959, allocations: 27.91 kB / 1.018 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.559e-05/0.4959, allocations: 7.938 kB / 1.018 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001037/0.4961, allocations: 15.92 kB / 1.018 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.723e-05/0.4961, allocations: 0 / 1.018 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 9.048e-05/0.4962, allocations: 15.98 kB / 1.018 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.525e-05/0.4963, allocations: 47.78 kB / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.4964, allocations: 39.88 kB / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.057e-05/0.4964, allocations: 15.92 kB / 1.018 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.472e-05/0.4965, allocations: 27.86 kB / 1.018 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.4965, allocations: 4 kB / 1.018 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.172e-05/0.4965, allocations: 4 kB / 1.018 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.722e-05/0.4966, allocations: 11.98 kB / 1.018 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.154e-05/0.4966, allocations: 27.8 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.998e-05/0.4967, allocations: 58.06 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.4967, allocations: 0 / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.11e-07/0.4967, allocations: 0 / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.4967, allocations: 4 kB / 1.019 GB, free: 0.8945 MB / 0.7637 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.0003469/0.4971, allocations: 355.4 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.4971, allocations: 8.031 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.229e-05/0.4972, allocations: 42.73 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.456e-05/0.4972, allocations: 8.844 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.4974, allocations: 196.1 kB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.417e-06/0.4974, allocations: 8.375 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.4974, allocations: 4.375 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.4975, allocations: 100.8 kB / 1.019 GB, free: 76 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.4976, allocations: 7.938 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.4976, allocations: 4 kB / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.4976, allocations: 0 / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.849e-05/0.4977, allocations: 47.91 kB / 1.019 GB, free: 16 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005206/0.4982, allocations: 0.6401 MB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.603e-05/0.4983, allocations: 177.1 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.773e-05/0.4983, allocations: 84.08 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.4983, allocations: 83.28 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.4984, allocations: 105.8 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.4984, allocations: 0 / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.668e-05/0.4984, allocations: 37.55 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.4985, allocations: 126.7 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.4987, allocations: 171.5 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.4987, allocations: 25.7 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.937e-05/0.4987, allocations: 112 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.615e-06/0.4988, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/0.4988, allocations: 13.72 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.242e-05/0.4989, allocations: 322.8 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.488e-05/0.4989, allocations: 7.938 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.051e-05/0.4989, allocations: 22.56 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.841e-05/0.499, allocations: 30.58 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.499, allocations: 0 / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001113/0.4991, allocations: 53.55 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.4991, allocations: 4 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.4991, allocations: 11.92 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.207e-06/0.4991, allocations: 3.938 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.001e-05/0.4992, allocations: 4 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.4992, allocations: 4.094 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.35e-05/0.4992, allocations: 7.906 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-06/0.4993, allocations: 0 / 1.021 GB, free: 13.83 MB / 0.7794 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 8.742e-05/0.4993, allocations: 193.7 kB / 1.021 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.586e-05/0.4994, allocations: 112.9 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.634e-05/0.4995, allocations: 120.7 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.656e-05/0.4995, allocations: 184.3 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.047e-05/0.4996, allocations: 180.2 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.975e-05/0.4996, allocations: 180.2 kB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001992/0.4998, allocations: 425.2 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.854e-05/0.4999, allocations: 104.9 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.089e-05/0.4999, allocations: 105 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.842e-05/0.5, allocations: 184.2 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.88e-05/0.5, allocations: 184.2 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.764e-05/0.5001, allocations: 176.3 kB / 1.023 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.023e-05/0.5001, allocations: 184.4 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001092/0.5002, allocations: 323.7 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.335e-05/0.5003, allocations: 186 kB / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.227e-05/0.5004, allocations: 188.2 kB / 1.024 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.433e-05/0.5004, allocations: 104.9 kB / 1.024 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.081e-05/0.5005, allocations: 180.2 kB / 1.024 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.534e-05/0.5005, allocations: 108.9 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.535e-05/0.5006, allocations: 133.3 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5006, allocations: 0 / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002191/0.5009, allocations: 8 kB / 1.025 GB, free: 10.12 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 (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.0003331/0.5012, allocations: 0.8164 MB / 1.025 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.541e-05/0.5013, allocations: 11.94 kB / 1.026 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.614e-06/0.5013, allocations: 0 / 1.026 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.765e-06/0.5013, allocations: 4 kB / 1.026 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/0.5016, allocations: 0.5241 MB / 1.026 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.5028, allocations: 1.629 MB / 1.028 GB, free: 7.008 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002149/0.503, allocations: 0.702 MB / 1.028 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.886e-05/0.5031, allocations: 7.938 kB / 1.028 GB, free: 6.273 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.856e-05/0.5031, allocations: 23.42 kB / 1.028 GB, free: 6.25 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.5031, allocations: 0 / 1.028 GB, free: 6.25 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5199/1.023, allocations: 1.541 MB / 1.03 GB, free: 4.82 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/1.023, allocations: 211.2 kB / 1.03 GB, free: 4.566 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.608/2.631, allocations: 3.625 kB / 1.03 GB, free: 4.566 MB / 0.7794 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat --tempDir=temp_Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 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.mat","/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