Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_latest_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.001249/0.001249, 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.001246/0.001246, allocations: 196.1 kB / 16.53 MB, free: 6.699 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.288/1.288, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.743/2.743, allocations: 461.9 MB / 0.7346 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001306, allocations: 66.53 kB / 0.8992 GB, free: 36.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2623, allocations: 157.4 MB / 1.053 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.00842/0.2707, allocations: 7.341 MB / 1.06 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.007005/0.2778, allocations: 5.196 MB / 1.065 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001084/0.2789, allocations: 39.81 kB / 1.065 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.004051/0.2829, allocations: 1.687 MB / 1.067 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001439/0.2844, allocations: 0.5932 MB / 1.067 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006699/0.2851, allocations: 232.1 kB / 1.068 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001613/0.2867, allocations: 1.74 MB / 1.069 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006204/0.2874, allocations: 0.5853 MB / 1.07 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006193/0.288, allocations: 0.6763 MB / 1.071 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000812/0.2889, allocations: 0.8162 MB / 1.071 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001387/0.289, allocations: 84 kB / 1.071 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004192/0.2894, allocations: 191.8 kB / 1.072 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002905/0.2897, allocations: 334.5 kB / 1.072 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0006441/0.2904, allocations: 0.7921 MB / 1.073 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001762/0.2921, allocations: 2.195 MB / 1.075 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2922, allocations: 0 / 1.075 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2922, allocations: 0 / 1.075 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.785e-05/0.2922, allocations: 0 / 1.075 GB, free: 1.684 MB / 0.8262 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.002576/0.2948, allocations: 2.206 MB / 1.077 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.2948, allocations: 8.031 kB / 1.077 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.301e-05/0.2949, allocations: 78.72 kB / 1.077 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000214/0.2951, allocations: 198.4 kB / 1.077 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001932/0.297, allocations: 1.575 MB / 1.079 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.2971, allocations: 29 kB / 1.079 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.649e-05/0.2971, allocations: 39.98 kB / 1.079 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006071/0.2978, allocations: 446.3 kB / 1.079 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.2978, allocations: 0 / 1.079 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.436e-05/0.2978, allocations: 16 kB / 1.079 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.819e-05/0.2979, allocations: 24.92 kB / 1.079 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005655/0.2984, allocations: 431.6 kB / 1.08 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002611/0.301, allocations: 2.327 MB / 1.082 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008783/0.3019, allocations: 0.4922 MB / 1.083 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002526/0.3022, allocations: 201.3 kB / 1.083 GB, free: 9.32 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.3022, allocations: 8.266 kB / 1.083 GB, free: 9.312 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.3023, allocations: 38.84 kB / 1.083 GB, free: 9.266 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=34): time 1.482e-06/0.3023, allocations: 4 kB / 1.083 GB, free: 9.262 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34): time 0.0008507/0.3031, allocations: 0.6414 MB / 1.083 GB, free: 8.613 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.3032, allocations: 59.34 kB / 1.083 GB, free: 8.543 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002775/0.3059, allocations: 2.575 MB / 1.086 GB, free: 5.938 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.306, allocations: 33.7 kB / 1.086 GB, free: 5.898 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006644/0.3066, allocations: 0.7721 MB / 1.087 GB, free: 5.121 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.434e-05/0.3067, allocations: 114.3 kB / 1.087 GB, free: 5.008 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.3068, allocations: 69.59 kB / 1.087 GB, free: 4.934 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.691e-05/0.3069, allocations: 330.5 kB / 1.087 GB, free: 4.605 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/0.3071, allocations: 135.9 kB / 1.087 GB, free: 4.473 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002269/0.3074, allocations: 181.9 kB / 1.088 GB, free: 4.289 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004127/0.3078, allocations: 313.3 kB / 1.088 GB, free: 3.98 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3078, allocations: 4 kB / 1.088 GB, free: 3.977 MB / 0.8419 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006428/0.3084, allocations: 0.5302 MB / 1.088 GB, free: 3.438 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.3085, allocations: 4 kB / 1.088 GB, free: 3.434 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.3085, allocations: 4 kB / 1.088 GB, free: 3.43 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.3085, allocations: 8.031 kB / 1.088 GB, free: 3.422 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003161/0.3088, allocations: 75.89 kB / 1.088 GB, free: 3.348 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.3088, allocations: 0 / 1.088 GB, free: 3.348 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003363/0.3092, allocations: 31.59 kB / 1.088 GB, free: 3.316 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.097e-05/0.3092, allocations: 12 kB / 1.088 GB, free: 3.305 MB / 0.8419 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.0006885/0.3099, allocations: 0.6886 MB / 1.089 GB, free: 2.605 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001887/0.3101, allocations: 181.7 kB / 1.089 GB, free: 2.426 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00029/0.3104, allocations: 219.2 kB / 1.09 GB, free: 2.211 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.3104, allocations: 8 kB / 1.09 GB, free: 2.203 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.3104, allocations: 0 / 1.09 GB, free: 2.203 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.3104, allocations: 0 / 1.09 GB, free: 2.203 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001881/0.3123, allocations: 1.574 MB / 1.091 GB, free: 0.5586 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.3123, allocations: 0 / 1.091 GB, free: 0.5586 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002793/0.3126, allocations: 79.83 kB / 1.091 GB, free: 492 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.3126, allocations: 0 / 1.091 GB, free: 492 kB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.3127, allocations: 12.09 kB / 1.091 GB, free: 480 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.3127, allocations: 0 / 1.091 GB, free: 480 kB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3127, allocations: 7.938 kB / 1.091 GB, free: 472 kB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000663/0.3133, allocations: 0.6391 MB / 1.092 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004828/0.3138, allocations: 370.6 kB / 1.092 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001668/0.314, allocations: 12 kB / 1.092 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003704/0.3144, allocations: 4 kB / 1.092 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.59e-05/0.3144, allocations: 27.91 kB / 1.092 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.3145, allocations: 12 kB / 1.092 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.002271/0.3167, allocations: 1.843 MB / 1.094 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3167, allocations: 0 / 1.094 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000599/0.3173, allocations: 235.7 kB / 1.094 GB, free: 13.27 MB / 0.8575 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.001182/0.3185, allocations: 1.271 MB / 1.095 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006114/0.3192, allocations: 411.4 kB / 1.096 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3192, allocations: 0 / 1.096 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002183/0.3194, allocations: 167.8 kB / 1.096 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002145/0.3215, allocations: 0.6181 MB / 1.097 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01956/0.3411, allocations: 16.55 MB / 1.113 GB, free: 9.402 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001797/0.3429, allocations: 1.758 MB / 1.115 GB, free: 7.609 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0009239/0.3439, allocations: 311 kB / 1.115 GB, free: 7.301 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007899/0.3447, allocations: 0.5969 MB / 1.115 GB, free: 6.703 MB / 0.8731 GB Notification: Performance of SimCode: time 1.453e-06/0.3447, allocations: 0 / 1.115 GB, free: 6.703 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06856/0.4133, allocations: 39.31 MB / 1.154 GB, free: 15.91 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.347/7.76, allocations: 16.58 kB / 1.154 GB, free: 15.9 MB / 0.92 GB (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.fmu > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches