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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0009238/0.0009238, allocations: 90.52 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.005435/0.005435, allocations: 171.7 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.272/1.272, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.464/2.464, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002959/0.000296, allocations: 11.94 kB / 0.9029 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2673, allocations: 159.6 MB / 1.059 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.006682/0.2741, allocations: 6.871 MB / 1.065 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.008089/0.2822, allocations: 5.059 MB / 1.07 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001829/0.2841, allocations: 35.81 kB / 1.07 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.006793/0.2909, allocations: 1.575 MB / 1.072 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.002718/0.2936, allocations: 0.5317 MB / 1.073 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001319/0.295, allocations: 195.7 kB / 1.073 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002902/0.2979, allocations: 1.962 MB / 1.075 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008161/0.2988, allocations: 0.5415 MB / 1.075 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009707/0.2997, allocations: 0.6215 MB / 1.076 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001157/0.3009, allocations: 0.7966 MB / 1.077 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002961/0.3012, allocations: 64 kB / 1.077 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000647/0.3019, allocations: 179.8 kB / 1.077 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003792/0.3023, allocations: 306.5 kB / 1.077 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0009317/0.3032, allocations: 0.7899 MB / 1.078 GB, free: 1.246 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001996/0.3052, allocations: 2.016 MB / 1.08 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3052, allocations: 0 / 1.08 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.495e-06/0.3053, allocations: 4 kB / 1.08 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.397e-05/0.3053, allocations: 0 / 1.08 GB, free: 15.22 MB / 0.8419 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.003049/0.3084, allocations: 1.872 MB / 1.082 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.3084, allocations: 12.03 kB / 1.082 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001148/0.3086, allocations: 70.72 kB / 1.082 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000357/0.3089, allocations: 202.4 kB / 1.082 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002538/0.3115, allocations: 1.563 MB / 1.083 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.3115, allocations: 29 kB / 1.083 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.668e-05/0.3116, allocations: 35.98 kB / 1.083 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006702/0.3123, allocations: 450.3 kB / 1.084 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.3123, allocations: 3.938 kB / 1.084 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.397e-05/0.3123, allocations: 12 kB / 1.084 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.364e-05/0.3124, allocations: 28.98 kB / 1.084 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005908/0.313, allocations: 419.7 kB / 1.084 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003056/0.316, allocations: 2.338 MB / 1.087 GB, free: 7.902 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008966/0.3169, allocations: 0.4962 MB / 1.087 GB, free: 7.395 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002549/0.3172, allocations: 205.3 kB / 1.087 GB, free: 7.191 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.3172, allocations: 4.281 kB / 1.087 GB, free: 7.188 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.3173, allocations: 38.78 kB / 1.087 GB, free: 7.141 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=34): time 2.164e-06/0.3173, allocations: 0 / 1.087 GB, free: 7.141 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34): time 0.0009092/0.3182, allocations: 0.6384 MB / 1.088 GB, free: 6.496 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.3182, allocations: 59.39 kB / 1.088 GB, free: 6.426 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002843/0.3211, allocations: 2.579 MB / 1.091 GB, free: 3.816 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/0.3211, allocations: 33.7 kB / 1.091 GB, free: 3.777 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006365/0.3217, allocations: 0.7644 MB / 1.091 GB, free: 3.004 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.846e-05/0.3218, allocations: 114.3 kB / 1.091 GB, free: 2.891 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.37e-05/0.3219, allocations: 29.7 kB / 1.091 GB, free: 2.855 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.692e-05/0.322, allocations: 322.5 kB / 1.092 GB, free: 2.535 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.3222, allocations: 139.9 kB / 1.092 GB, free: 2.398 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002315/0.3224, allocations: 185.4 kB / 1.092 GB, free: 2.211 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004021/0.3228, allocations: 322.3 kB / 1.092 GB, free: 1.895 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3228, allocations: 0 / 1.092 GB, free: 1.895 MB / 0.8419 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006548/0.3235, allocations: 0.5225 MB / 1.093 GB, free: 1.363 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.3235, allocations: 4 kB / 1.093 GB, free: 1.359 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.3235, allocations: 0 / 1.093 GB, free: 1.359 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.3235, allocations: 7.938 kB / 1.093 GB, free: 1.352 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003179/0.3239, allocations: 79.89 kB / 1.093 GB, free: 1.273 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.3239, allocations: 0 / 1.093 GB, free: 1.273 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003693/0.3243, allocations: 31.72 kB / 1.093 GB, free: 1.242 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.3243, allocations: 16 kB / 1.093 GB, free: 1.227 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.0006768/0.325, allocations: 0.6847 MB / 1.094 GB, free: 0.5312 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001707/0.3251, allocations: 189.6 kB / 1.094 GB, free: 352 kB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002793/0.3254, allocations: 219.2 kB / 1.094 GB, free: 132 kB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.3254, allocations: 4 kB / 1.094 GB, free: 128 kB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.3254, allocations: 0 / 1.094 GB, free: 128 kB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3255, allocations: 0 / 1.094 GB, free: 128 kB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001757/0.3272, allocations: 1.578 MB / 1.096 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3272, allocations: 0 / 1.096 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000266/0.3275, allocations: 79.89 kB / 1.096 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.176e-06/0.3275, allocations: 4 kB / 1.096 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.3275, allocations: 7.938 kB / 1.096 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.3276, allocations: 4 kB / 1.096 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.3276, allocations: 7.922 kB / 1.096 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006197/0.3282, allocations: 0.6393 MB / 1.096 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004291/0.3286, allocations: 374.5 kB / 1.097 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001369/0.3288, allocations: 8 kB / 1.097 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003751/0.3291, allocations: 11.94 kB / 1.097 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/0.3292, allocations: 31.91 kB / 1.097 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.3292, allocations: 4 kB / 1.097 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.002168/0.3314, allocations: 1.851 MB / 1.099 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.3314, allocations: 0 / 1.099 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005764/0.332, allocations: 227.8 kB / 1.099 GB, free: 11.18 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.00115/0.3331, allocations: 1.263 MB / 1.1 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004879/0.3336, allocations: 327.5 kB / 1.1 GB, free: 9.562 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.3336, allocations: 7.938 kB / 1.1 GB, free: 9.555 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002071/0.3339, allocations: 175.8 kB / 1.101 GB, free: 9.383 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002322/0.3362, allocations: 0.5809 MB / 1.101 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03098/0.3672, allocations: 16.9 MB / 1.118 GB, free: 7.066 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001181/0.3684, allocations: 1.761 MB / 1.119 GB, free: 5.27 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0008187/0.3692, allocations: 303.1 kB / 1.12 GB, free: 4.969 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006503/0.3699, allocations: 0.593 MB / 1.12 GB, free: 4.375 MB / 0.8731 GB Notification: Performance of SimCode: time 1.233e-06/0.3699, allocations: 0 / 1.12 GB, free: 4.375 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.388/4.758, allocations: 37.99 MB / 1.157 GB, free: 14.93 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002617/4.758, allocations: 305.6 kB / 1.158 GB, free: 14.55 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.199/6.957, allocations: 0 / 1.158 GB, free: 14.55 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