Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_11_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.007666/0.007666, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.002164/0.002164, allocations: 196 kB / 16.68 MB, free: 5.934 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.751/2.751, allocations: 469.8 MB / 0.7425 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.003238/0.003239, allocations: 75.88 kB / 1.065 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.678/0.6813, allocations: 159.1 MB / 1.22 GB, free: 2.012 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.009439/0.6907, allocations: 7.33 MB / 1.227 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00755/0.6983, allocations: 5.196 MB / 1.232 GB, free: 5.434 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009432/0.6993, allocations: 43.75 kB / 1.233 GB, free: 5.391 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004171/0.7035, allocations: 1.69 MB / 1.234 GB, free: 3.695 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001448/0.7049, allocations: 0.6009 MB / 1.235 GB, free: 3.09 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007211/0.7057, allocations: 231.3 kB / 1.235 GB, free: 2.867 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002113/0.7078, allocations: 1.745 MB / 1.237 GB, free: 1.113 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007415/0.7085, allocations: 0.5853 MB / 1.237 GB, free: 0.5 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007232/0.7093, allocations: 0.6762 MB / 1.238 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001013/0.7103, allocations: 0.8046 MB / 1.239 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001608/0.7105, allocations: 84 kB / 1.239 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000489/0.711, allocations: 199.8 kB / 1.239 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003554/0.7113, allocations: 334.5 kB / 1.239 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007908/0.7121, allocations: 0.7843 MB / 1.24 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002542/0.7147, allocations: 2.443 MB / 1.242 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.7147, allocations: 4 kB / 1.242 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7147, allocations: 0 / 1.242 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.43e-05/0.7147, allocations: 4 kB / 1.242 GB, free: 11.16 MB / 0.9669 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.003079/0.7178, allocations: 2.315 MB / 1.245 GB, free: 8.773 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.7179, allocations: 12.56 kB / 1.245 GB, free: 8.762 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.632e-05/0.718, allocations: 90.69 kB / 1.245 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002569/0.7182, allocations: 211.5 kB / 1.245 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002598/0.7208, allocations: 1.682 MB / 1.247 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.073e-05/0.7209, allocations: 32.98 kB / 1.247 GB, free: 6.676 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.589e-05/0.7209, allocations: 32 kB / 1.247 GB, free: 6.645 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000742/0.7217, allocations: 446.3 kB / 1.247 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.7217, allocations: 0 / 1.247 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.309e-05/0.7217, allocations: 19.98 kB / 1.247 GB, free: 6.188 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.11e-05/0.7218, allocations: 24.98 kB / 1.247 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007086/0.7225, allocations: 435.6 kB / 1.248 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003153/0.7257, allocations: 2.296 MB / 1.25 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/0.7267, allocations: 0.5006 MB / 1.25 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003204/0.7271, allocations: 208.3 kB / 1.251 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.7271, allocations: 4.281 kB / 1.251 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.7271, allocations: 42.84 kB / 1.251 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=34): time 1.522e-06/0.7271, allocations: 0 / 1.251 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of matching and sorting (n=34): time 0.001024/0.7282, allocations: 0.6503 MB / 1.251 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.7282, allocations: 59.34 kB / 1.251 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003466/0.7317, allocations: 2.559 MB / 1.254 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.602e-05/0.7317, allocations: 33.7 kB / 1.254 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008339/0.7326, allocations: 0.7607 MB / 1.255 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.7327, allocations: 126.9 kB / 1.255 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.7328, allocations: 73.64 kB / 1.255 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.733, allocations: 322.5 kB / 1.255 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/0.7332, allocations: 135.9 kB / 1.255 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002773/0.7335, allocations: 178.5 kB / 1.255 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004932/0.734, allocations: 324.6 kB / 1.256 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.734, allocations: 4 kB / 1.256 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007841/0.7348, allocations: 0.5356 MB / 1.256 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.7348, allocations: 12.02 kB / 1.256 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.7348, allocations: 0 / 1.256 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.7348, allocations: 4 kB / 1.256 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003493/0.7352, allocations: 75.89 kB / 1.256 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.7352, allocations: 0 / 1.256 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003339/0.7355, allocations: 31.78 kB / 1.256 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/0.7356, allocations: 8 kB / 1.256 GB, free: 12.57 MB / 0.9825 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.0008385/0.7364, allocations: 0.6916 MB / 1.257 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002346/0.7367, allocations: 194.7 kB / 1.257 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003389/0.737, allocations: 219.2 kB / 1.257 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.737, allocations: 4 kB / 1.257 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.737, allocations: 0 / 1.257 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.737, allocations: 7.922 kB / 1.257 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002154/0.7392, allocations: 1.57 MB / 1.259 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.7392, allocations: 0 / 1.259 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003227/0.7395, allocations: 76.05 kB / 1.259 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.246e-06/0.7396, allocations: 4 kB / 1.259 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.7396, allocations: 7.938 kB / 1.259 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.7396, allocations: 4 kB / 1.259 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.7396, allocations: 3.938 kB / 1.259 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008038/0.7404, allocations: 0.6487 MB / 1.26 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005377/0.741, allocations: 387.6 kB / 1.26 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001574/0.7411, allocations: 4 kB / 1.26 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004031/0.7415, allocations: 8 kB / 1.26 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.134e-05/0.7416, allocations: 39.78 kB / 1.26 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/0.7416, allocations: 4 kB / 1.26 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002574/0.7442, allocations: 1.835 MB / 1.262 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7442, allocations: 0 / 1.262 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005832/0.7448, allocations: 223.8 kB / 1.262 GB, free: 6.508 MB / 0.9825 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.001409/0.7462, allocations: 1.277 MB / 1.263 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005752/0.7468, allocations: 327.6 kB / 1.264 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.7468, allocations: 0 / 1.264 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000255/0.7471, allocations: 171.8 kB / 1.264 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002273/0.7493, allocations: 0.6225 MB / 1.264 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02031/0.7697, allocations: 14.87 MB / 1.279 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001546/0.7712, allocations: 1.754 MB / 1.281 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000691/0.7719, allocations: 311.3 kB / 1.281 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007865/0.7727, allocations: 0.5969 MB / 1.282 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of SimCode: time 3.41e-07/0.7727, allocations: 0 / 1.282 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07386/0.8466, allocations: 39.79 MB / 1.32 GB, free: 11.07 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/11.52, allocations: 6.906 kB / 1.32 GB, free: 11.07 MB / 1.045 GB (rm -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.fmu > Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches