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: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 108 kB / 15.61 MB, free: 152 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.001143/0.001143, allocations: 197.1 kB / 16.53 MB, free: 6.664 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.184/1.184, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.245/2.245, allocations: 437 MB / 0.7104 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 67.89 kB / 0.8692 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5131/0.5143, allocations: 151.6 MB / 1.017 GB, free: 2.523 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002481/0.5168, allocations: 1.532 MB / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 9.505e-05/0.5169, allocations: 27.86 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.039e-05/0.5169, allocations: 0 / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 9.909e-05/0.517, allocations: 15.86 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.952e-05/0.5171, allocations: 7.938 kB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 8.711e-05/0.5172, allocations: 15.97 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.872e-05/0.5173, allocations: 51.84 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.5174, allocations: 27.98 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.016e-05/0.5174, allocations: 27.91 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.314e-05/0.5175, allocations: 27.8 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.5175, allocations: 4 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.146e-05/0.5175, allocations: 8 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.949e-05/0.5176, allocations: 23.98 kB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.898e-05/0.5176, allocations: 23.81 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.815e-05/0.5177, allocations: 57.77 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.5177, allocations: 4 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5177, allocations: 0 / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.5177, allocations: 0 / 1.019 GB, free: 0.6641 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.000334/0.5181, allocations: 359.3 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 2.994e-05/0.5181, allocations: 12.03 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.817e-05/0.5181, allocations: 12.84 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.5183, allocations: 184.2 kB / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.414e-06/0.5183, allocations: 4.359 kB / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/0.5183, allocations: 16.38 kB / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.5185, allocations: 94.84 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.5185, allocations: 4.125 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.5185, allocations: 11.94 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.5185, allocations: 0 / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.182e-05/0.5186, allocations: 47.91 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004914/0.5191, allocations: 0.6362 MB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.759e-05/0.5192, allocations: 169.1 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.361e-05/0.5192, allocations: 84.12 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.5192, allocations: 75.28 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.963e-05/0.5193, allocations: 117.8 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.5193, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 6.345e-05/0.5193, allocations: 33.64 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.5194, allocations: 134.7 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.5195, allocations: 172.9 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 7.965e-06/0.5196, allocations: 29.64 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.029e-05/0.5196, allocations: 104 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-06/0.5196, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.042e-05/0.5197, allocations: 17.72 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.593e-05/0.5198, allocations: 318.8 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.156e-05/0.5198, allocations: 8 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.085e-05/0.5198, allocations: 22.58 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.357e-05/0.5199, allocations: 30.52 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.5199, allocations: 0 / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001026/0.52, allocations: 61.53 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.52, allocations: 4 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.52, allocations: 0 / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.52, allocations: 7.938 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.893e-05/0.5201, allocations: 4 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.5201, allocations: 3.938 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.339e-05/0.5201, allocations: 7.906 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.066e-06/0.5201, allocations: 0 / 1.022 GB, free: 13.65 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.644e-05/0.5202, allocations: 197.2 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.387e-05/0.5203, allocations: 108.9 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.977e-05/0.5203, allocations: 124.7 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.003e-05/0.5204, allocations: 176.3 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-05/0.5204, allocations: 180.3 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.201e-05/0.5205, allocations: 180.2 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.5207, allocations: 429.1 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.538e-05/0.5207, allocations: 108.9 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.577e-05/0.5208, allocations: 101 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.359e-05/0.5208, allocations: 184.3 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.69e-05/0.5209, allocations: 184.1 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-05/0.5209, allocations: 184.2 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.594e-05/0.521, allocations: 188.2 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001032/0.5211, allocations: 303.7 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.987e-05/0.5212, allocations: 194.3 kB / 1.024 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.142e-05/0.5212, allocations: 180.2 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.751e-05/0.5213, allocations: 113 kB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.136e-05/0.5214, allocations: 184.3 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.435e-05/0.5214, allocations: 105 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.107e-05/0.5215, allocations: 125.3 kB / 1.025 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.243e-06/0.5215, allocations: 0 / 1.025 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002442/0.5218, allocations: 11.94 kB / 1.025 GB, free: 9.941 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.0001058/0.5219, allocations: 182.5 kB / 1.025 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.624e-05/0.5219, allocations: 4 kB / 1.025 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.522, allocations: 0 / 1.025 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.865e-06/0.522, allocations: 7.938 kB / 1.025 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.5223, allocations: 459.6 kB / 1.026 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002771/0.5226, allocations: 245.4 kB / 1.026 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002157/0.5228, allocations: 0.6924 MB / 1.027 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.612e-05/0.5228, allocations: 4 kB / 1.027 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.828e-05/0.5229, allocations: 11.44 kB / 1.027 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.5229, allocations: 0 / 1.027 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of Templates: time 0.00197/0.5248, allocations: 436.5 kB / 1.027 GB, free: 7.867 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile (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 & ./Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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