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.001316/0.001316, allocations: 108 kB / 15.61 MB, free: 148 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.001222/0.001222, allocations: 193.6 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.253/1.253, allocations: 222.9 MB / 240.2 MB, free: 4.355 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.219/2.219, allocations: 390.3 MB / 0.6647 GB, free: 304 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 63.91 kB / 0.8127 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5516/0.553, allocations: 140.4 MB / 0.9497 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.006776/0.5598, allocations: 7.34 MB / 0.9569 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006736/0.5665, allocations: 5.177 MB / 0.9619 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007518/0.5673, allocations: 39.31 kB / 0.962 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003958/0.5713, allocations: 1.694 MB / 0.9636 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001285/0.5726, allocations: 0.6009 MB / 0.9642 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006774/0.5733, allocations: 230.4 kB / 0.9644 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001723/0.575, allocations: 1.74 MB / 0.9661 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007474/0.5758, allocations: 0.584 MB / 0.9667 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008232/0.5767, allocations: 0.6713 MB / 0.9674 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000882/0.5776, allocations: 0.8133 MB / 0.9682 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001582/0.5777, allocations: 83.09 kB / 0.9682 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004831/0.5782, allocations: 204.9 kB / 0.9684 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002853/0.5785, allocations: 328.8 kB / 0.9688 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006657/0.5792, allocations: 0.7902 MB / 0.9695 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001889/0.5811, allocations: 2.194 MB / 0.9717 GB, free: 8.828 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.5811, allocations: 4.969 kB / 0.9717 GB, free: 8.824 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5811, allocations: 0 / 0.9717 GB, free: 8.824 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.36e-05/0.5811, allocations: 0 / 0.9717 GB, free: 8.824 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.00279/0.5839, allocations: 2.201 MB / 0.9738 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.584, allocations: 9.625 kB / 0.9738 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.111e-05/0.5841, allocations: 77.52 kB / 0.9739 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002397/0.5843, allocations: 199.3 kB / 0.9741 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002047/0.5864, allocations: 1.572 MB / 0.9756 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.5864, allocations: 27.59 kB / 0.9757 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.075e-05/0.5864, allocations: 36.25 kB / 0.9757 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006133/0.5871, allocations: 449.3 kB / 0.9761 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.5871, allocations: 0 / 0.9761 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.549e-05/0.5871, allocations: 14.67 kB / 0.9761 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.011e-05/0.5872, allocations: 26.61 kB / 0.9762 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000575/0.5877, allocations: 426.8 kB / 0.9766 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002671/0.5904, allocations: 2.335 MB / 0.9788 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000866/0.5913, allocations: 0.4923 MB / 0.9793 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002525/0.5916, allocations: 205.2 kB / 0.9795 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.5916, allocations: 8.281 kB / 0.9795 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.5916, allocations: 38.84 kB / 0.9796 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=34): time 1.422e-06/0.5916, allocations: 0 / 0.9796 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of matching and sorting (n=34): time 0.000844/0.5925, allocations: 0.6383 MB / 0.9802 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.5925, allocations: 59.41 kB / 0.9802 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002822/0.5953, allocations: 2.571 MB / 0.9828 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.175e-05/0.5954, allocations: 37.7 kB / 0.9828 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006737/0.5961, allocations: 0.7645 MB / 0.9835 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.228e-05/0.5962, allocations: 118.3 kB / 0.9837 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.869e-05/0.5963, allocations: 73.53 kB / 0.9837 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.5964, allocations: 322.5 kB / 0.984 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/0.5966, allocations: 139.8 kB / 0.9842 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002225/0.5968, allocations: 181.4 kB / 0.9843 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004/0.5972, allocations: 322.5 kB / 0.9846 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5972, allocations: 0 / 0.9846 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006452/0.5979, allocations: 0.53 MB / 0.9852 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.5979, allocations: 8.031 kB / 0.9852 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.5979, allocations: 0 / 0.9852 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.5979, allocations: 4 kB / 0.9852 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000296/0.5982, allocations: 75.89 kB / 0.9852 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.5982, allocations: 0 / 0.9852 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000335/0.5986, allocations: 31.69 kB / 0.9853 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.5986, allocations: 8 kB / 0.9853 GB, free: 12.86 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.0006467/0.5992, allocations: 0.6886 MB / 0.986 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001973/0.5994, allocations: 193.6 kB / 0.9861 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002807/0.5997, allocations: 215.2 kB / 0.9863 GB, free: 11.76 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.5997, allocations: 4 kB / 0.9863 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.5997, allocations: 0 / 0.9863 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.5997, allocations: 0 / 0.9863 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001772/0.6015, allocations: 1.586 MB / 0.9879 GB, free: 10.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.6015, allocations: 0 / 0.9879 GB, free: 10.1 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002748/0.6018, allocations: 79.98 kB / 0.988 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.6018, allocations: 4 kB / 0.988 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.6019, allocations: 15.98 kB / 0.988 GB, free: 10 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.6019, allocations: 4 kB / 0.988 GB, free: 9.996 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.6019, allocations: 7.922 kB / 0.988 GB, free: 9.988 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006265/0.6025, allocations: 0.635 MB / 0.9886 GB, free: 9.324 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004543/0.603, allocations: 374.5 kB / 0.989 GB, free: 8.938 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001571/0.6031, allocations: 12 kB / 0.989 GB, free: 8.926 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003713/0.6035, allocations: 11.98 kB / 0.989 GB, free: 8.914 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.6036, allocations: 15.92 kB / 0.989 GB, free: 8.898 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.6036, allocations: 12 kB / 0.989 GB, free: 8.887 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002024/0.6056, allocations: 1.851 MB / 0.9908 GB, free: 7.02 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6056, allocations: 0 / 0.9908 GB, free: 7.02 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005675/0.6062, allocations: 235.7 kB / 0.9911 GB, free: 6.789 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.001088/0.6073, allocations: 1.253 MB / 0.9923 GB, free: 5.504 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005728/0.6079, allocations: 399.6 kB / 0.9927 GB, free: 5.113 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.6079, allocations: 0 / 0.9927 GB, free: 5.113 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002059/0.6081, allocations: 171.8 kB / 0.9928 GB, free: 4.945 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001975/0.6101, allocations: 0.624 MB / 0.9934 GB, free: 4.336 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01749/0.6276, allocations: 16.55 MB / 1.01 GB, free: 2.945 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001208/0.6288, allocations: 1.758 MB / 1.011 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0007203/0.6295, allocations: 311 kB / 1.012 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006336/0.6302, allocations: 0.593 MB / 1.012 GB, free: 256 kB / 0.7637 GB Notification: Performance of SimCode: time 5.91e-07/0.6302, allocations: 4 kB / 1.012 GB, free: 252 kB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2117/0.8419, allocations: 39.32 MB / 1.051 GB, free: 9.465 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.011/8.853, allocations: 9.344 kB / 1.051 GB, free: 9.457 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