Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",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.0008325/0.0008325, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.005135/0.005135, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.202/1.202, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.079/2.079, allocations: 390.9 MB / 0.6664 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002757/0.0002758, allocations: 8 kB / 0.8161 GB, free: 13.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5326/0.5329, allocations: 142.4 MB / 0.9552 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.005385/0.5383, allocations: 6.86 MB / 0.9619 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00601/0.5443, allocations: 5.053 MB / 0.9668 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001069/0.5454, allocations: 33.25 kB / 0.9668 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003891/0.5493, allocations: 1.581 MB / 0.9684 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001512/0.5508, allocations: 0.533 MB / 0.9689 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006218/0.5515, allocations: 196.1 kB / 0.9691 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00202/0.5535, allocations: 1.964 MB / 0.971 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000626/0.5541, allocations: 0.5509 MB / 0.9715 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007526/0.5549, allocations: 0.6306 MB / 0.9722 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008892/0.5558, allocations: 0.7845 MB / 0.9729 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001143/0.5559, allocations: 67.12 kB / 0.973 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003949/0.5563, allocations: 171.9 kB / 0.9731 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002641/0.5566, allocations: 318.4 kB / 0.9735 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.00064/0.5572, allocations: 0.7848 MB / 0.9742 GB, free: 9.527 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001562/0.5588, allocations: 2.008 MB / 0.9762 GB, free: 8.188 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.5588, allocations: 0 / 0.9762 GB, free: 8.188 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5588, allocations: 0 / 0.9762 GB, free: 8.188 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.464e-05/0.5588, allocations: 4 kB / 0.9762 GB, free: 8.184 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.002247/0.5611, allocations: 1.867 MB / 0.978 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.5611, allocations: 17.86 kB / 0.978 GB, free: 6.742 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.988e-05/0.5612, allocations: 77.83 kB / 0.9781 GB, free: 6.672 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002221/0.5615, allocations: 202.3 kB / 0.9783 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001952/0.5634, allocations: 1.571 MB / 0.9798 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.5635, allocations: 25.41 kB / 0.9798 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.186e-05/0.5635, allocations: 35 kB / 0.9799 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000629/0.5641, allocations: 444.7 kB / 0.9803 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.5642, allocations: 0 / 0.9803 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.376e-05/0.5642, allocations: 15.23 kB / 0.9803 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.685e-05/0.5642, allocations: 25.61 kB / 0.9803 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005675/0.5648, allocations: 427.6 kB / 0.9808 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002557/0.5674, allocations: 2.334 MB / 0.983 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008638/0.5683, allocations: 0.5001 MB / 0.9835 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002541/0.5685, allocations: 202.5 kB / 0.9837 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.5685, allocations: 4.281 kB / 0.9837 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.5686, allocations: 42.83 kB / 0.9838 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=34): time 1.293e-06/0.5686, allocations: 0 / 0.9838 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of matching and sorting (n=34): time 0.0008193/0.5694, allocations: 0.6345 MB / 0.9844 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.5694, allocations: 63.34 kB / 0.9844 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002815/0.5723, allocations: 2.579 MB / 0.987 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.204e-05/0.5723, allocations: 37.7 kB / 0.987 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006467/0.573, allocations: 0.7605 MB / 0.9877 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 7.716e-05/0.573, allocations: 118.3 kB / 0.9878 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.505e-05/0.5731, allocations: 29.7 kB / 0.9879 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.003e-05/0.5732, allocations: 322.5 kB / 0.9882 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/0.5734, allocations: 135.9 kB / 0.9883 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/0.5736, allocations: 181.4 kB / 0.9885 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004037/0.574, allocations: 326.4 kB / 0.9888 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.574, allocations: 0 / 0.9888 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006213/0.5747, allocations: 0.5301 MB / 0.9893 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.5747, allocations: 5.406 kB / 0.9893 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.5747, allocations: 3.938 kB / 0.9893 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.5747, allocations: 4 kB / 0.9893 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002936/0.575, allocations: 79.89 kB / 0.9894 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.575, allocations: 0 / 0.9894 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003282/0.5754, allocations: 27.69 kB / 0.9894 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.5754, allocations: 15.98 kB / 0.9894 GB, free: 11.75 MB / 0.7481 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 (36): * Single equations (assignments): 36 * 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.0006631/0.576, allocations: 0.6886 MB / 0.9901 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001885/0.5762, allocations: 189.6 kB / 0.9903 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002832/0.5765, allocations: 215.2 kB / 0.9905 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.5765, allocations: 4 kB / 0.9905 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.5765, allocations: 0 / 0.9905 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.5766, allocations: 0 / 0.9905 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001743/0.5783, allocations: 1.578 MB / 0.9921 GB, free: 8.996 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.5783, allocations: 0 / 0.9921 GB, free: 8.996 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002643/0.5786, allocations: 83.89 kB / 0.9921 GB, free: 8.914 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.5786, allocations: 4 kB / 0.9921 GB, free: 8.91 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.5786, allocations: 4 kB / 0.9921 GB, free: 8.906 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.5786, allocations: 4 kB / 0.9921 GB, free: 8.902 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5786, allocations: 3.938 kB / 0.9921 GB, free: 8.898 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006262/0.5793, allocations: 0.6429 MB / 0.9928 GB, free: 8.227 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004419/0.5797, allocations: 378.5 kB / 0.9931 GB, free: 7.836 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001439/0.5799, allocations: 8 kB / 0.9931 GB, free: 7.828 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003809/0.5802, allocations: 8 kB / 0.9931 GB, free: 7.82 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/0.5803, allocations: 27.91 kB / 0.9932 GB, free: 7.793 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.5803, allocations: 8 kB / 0.9932 GB, free: 7.785 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002074/0.5824, allocations: 1.851 MB / 0.995 GB, free: 5.918 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5824, allocations: 0 / 0.995 GB, free: 5.918 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005505/0.583, allocations: 223.8 kB / 0.9952 GB, free: 5.699 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (34): * Single equations (assignments): 34 * 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.001084/0.5841, allocations: 1.262 MB / 0.9964 GB, free: 4.406 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004405/0.5845, allocations: 328.3 kB / 0.9968 GB, free: 4.086 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.5845, allocations: 4 kB / 0.9968 GB, free: 4.082 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002035/0.5847, allocations: 167.9 kB / 0.9969 GB, free: 3.918 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002295/0.587, allocations: 0.5744 MB / 0.9975 GB, free: 3.344 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02238/0.6094, allocations: 16.91 MB / 1.014 GB, free: 1.594 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001263/0.6107, allocations: 1.754 MB / 1.016 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0006442/0.6114, allocations: 315.1 kB / 1.016 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006517/0.612, allocations: 0.5891 MB / 1.017 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of SimCode: time 3.1e-07/0.612, allocations: 0 / 1.017 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05315/0.6652, allocations: 38.01 MB / 1.054 GB, free: 9.445 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002674/0.6655, allocations: 290.6 kB / 1.054 GB, free: 9.062 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.204/2.87, allocations: 0 / 1.054 GB, free: 9.062 MB / 0.8106 GB (rm -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.fmu > Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches