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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001284/0.001284, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001322/0.001322, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.261/1.261, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.132/2.132, allocations: 390.2 MB / 0.6644 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.00123, allocations: 67.91 kB / 0.8122 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4868/0.488, allocations: 140.4 MB / 0.9492 GB, free: 9.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.005786/0.4938, allocations: 7.298 MB / 0.9564 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005763/0.4996, allocations: 5.109 MB / 0.9613 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006789/0.5003, allocations: 35.19 kB / 0.9614 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003288/0.5036, allocations: 1.606 MB / 0.9629 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0009523/0.5046, allocations: 0.5271 MB / 0.9635 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000558/0.5051, allocations: 202.7 kB / 0.9637 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001491/0.5066, allocations: 1.765 MB / 0.9654 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006152/0.5073, allocations: 0.591 MB / 0.966 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006371/0.5079, allocations: 0.6838 MB / 0.9666 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008004/0.5087, allocations: 0.8263 MB / 0.9674 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001347/0.5089, allocations: 81.69 kB / 0.9675 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003979/0.5093, allocations: 202.6 kB / 0.9677 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002744/0.5096, allocations: 333.3 kB / 0.968 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006201/0.5102, allocations: 0.7943 MB / 0.9688 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001679/0.5119, allocations: 2.187 MB / 0.9709 GB, free: 9.059 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.5119, allocations: 0 / 0.9709 GB, free: 9.059 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.465e-06/0.5119, allocations: 3.938 kB / 0.9709 GB, free: 9.055 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.636e-05/0.5119, allocations: 3.938 kB / 0.9709 GB, free: 9.051 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.002558/0.5145, allocations: 2.201 MB / 0.9731 GB, free: 7.391 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.5145, allocations: 10.19 kB / 0.9731 GB, free: 7.391 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.527e-05/0.5146, allocations: 80.94 kB / 0.9732 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002225/0.5148, allocations: 199.8 kB / 0.9734 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002/0.5168, allocations: 1.568 MB / 0.9749 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.593e-05/0.5169, allocations: 31.48 kB / 0.9749 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.239e-05/0.5169, allocations: 36 kB / 0.975 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006362/0.5176, allocations: 445 kB / 0.9754 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.5176, allocations: 0 / 0.9754 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.64e-05/0.5176, allocations: 15.34 kB / 0.9754 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-05/0.5177, allocations: 21.52 kB / 0.9754 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005847/0.5183, allocations: 435.1 kB / 0.9758 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002612/0.5209, allocations: 2.331 MB / 0.9781 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008716/0.5218, allocations: 0.5014 MB / 0.9786 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002506/0.522, allocations: 209.2 kB / 0.9788 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.5221, allocations: 4.281 kB / 0.9788 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.5221, allocations: 42.84 kB / 0.9788 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=34): time 1.333e-06/0.5221, allocations: 0 / 0.9788 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of matching and sorting (n=34): time 0.0008622/0.523, allocations: 0.6422 MB / 0.9795 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.523, allocations: 55.41 kB / 0.9795 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002722/0.5257, allocations: 2.575 MB / 0.982 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.5258, allocations: 33.7 kB / 0.9821 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006141/0.5264, allocations: 0.7566 MB / 0.9828 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.999e-05/0.5265, allocations: 114.3 kB / 0.9829 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.801e-05/0.5266, allocations: 69.59 kB / 0.983 GB, free: 15 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.537e-05/0.5267, allocations: 330.5 kB / 0.9833 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001903/0.5269, allocations: 139.8 kB / 0.9834 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/0.5271, allocations: 177.4 kB / 0.9836 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003975/0.5275, allocations: 322.5 kB / 0.9839 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5275, allocations: 0 / 0.9839 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006188/0.5281, allocations: 0.5338 MB / 0.9844 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.5281, allocations: 4 kB / 0.9844 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.5282, allocations: 0 / 0.9844 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.5282, allocations: 8.031 kB / 0.9844 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002946/0.5285, allocations: 79.89 kB / 0.9845 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.5285, allocations: 0 / 0.9845 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000327/0.5288, allocations: 27.69 kB / 0.9845 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.117e-05/0.5288, allocations: 12 kB / 0.9846 GB, free: 13.37 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.0006349/0.5295, allocations: 0.6847 MB / 0.9852 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001879/0.5297, allocations: 189.6 kB / 0.9854 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002634/0.5299, allocations: 223.2 kB / 0.9856 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.53, allocations: 4 kB / 0.9856 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.53, allocations: 0 / 0.9856 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.53, allocations: 0 / 0.9856 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001754/0.5317, allocations: 1.574 MB / 0.9872 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.5317, allocations: 0 / 0.9872 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000274/0.532, allocations: 79.89 kB / 0.9872 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.532, allocations: 8.094 kB / 0.9872 GB, free: 10.53 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.5321, allocations: 4 kB / 0.9872 GB, free: 10.53 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.5321, allocations: 7.938 kB / 0.9873 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.5321, allocations: 7.922 kB / 0.9873 GB, free: 10.51 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00063/0.5327, allocations: 0.6353 MB / 0.9879 GB, free: 9.848 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004833/0.5332, allocations: 378.5 kB / 0.9882 GB, free: 9.457 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001716/0.5334, allocations: 8 kB / 0.9883 GB, free: 9.449 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003904/0.5338, allocations: 8 kB / 0.9883 GB, free: 9.441 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.352e-05/0.5338, allocations: 27.84 kB / 0.9883 GB, free: 9.414 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.5339, allocations: 11.94 kB / 0.9883 GB, free: 9.402 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002134/0.536, allocations: 1.851 MB / 0.9901 GB, free: 7.535 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.536, allocations: 0 / 0.9901 GB, free: 7.535 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005706/0.5366, allocations: 231.8 kB / 0.9903 GB, free: 7.309 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.001134/0.5377, allocations: 1.259 MB / 0.9916 GB, free: 6.016 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005667/0.5383, allocations: 395.6 kB / 0.9919 GB, free: 5.629 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.5383, allocations: 4 kB / 0.9919 GB, free: 5.625 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002058/0.5385, allocations: 171.8 kB / 0.9921 GB, free: 5.457 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002137/0.5407, allocations: 0.6386 MB / 0.9927 GB, free: 4.832 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02425/0.5649, allocations: 17.16 MB / 1.009 GB, free: 2.836 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00133/0.5663, allocations: 1.762 MB / 1.011 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0008034/0.5671, allocations: 352.8 kB / 1.012 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006562/0.5678, allocations: 0.5969 MB / 1.012 GB, free: 92 kB / 0.7637 GB Notification: Performance of SimCode: time 3.31e-07/0.5678, allocations: 0 / 1.012 GB, free: 92 kB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5698/1.138, allocations: 39.99 MB / 1.051 GB, free: 8.68 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002643/1.138, allocations: 293.3 kB / 1.051 GB, free: 8.293 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.277/3.415, allocations: 0 / 1.051 GB, free: 8.293 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