Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.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.InfraredRadiationExchange,fileNamePrefix="Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange,fileNamePrefix="Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange",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.001267/0.001267, allocations: 108 kB / 15.6 MB, free: 132 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.001276/0.001276, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.274/1.274, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.247/2.247, allocations: 390.3 MB / 0.6647 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 59.91 kB / 0.8127 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4999/0.5012, allocations: 140.4 MB / 0.9497 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.006223/0.5074, allocations: 7.224 MB / 0.9568 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005999/0.5134, allocations: 5.543 MB / 0.9622 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000584/0.514, allocations: 39.44 kB / 0.9622 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003741/0.5178, allocations: 1.7 MB / 0.9639 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001123/0.519, allocations: 0.6116 MB / 0.9645 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009428/0.5199, allocations: 384.6 kB / 0.9649 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002525/0.5224, allocations: 2.929 MB / 0.9677 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006301/0.5231, allocations: 0.5446 MB / 0.9682 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001178/0.5243, allocations: 1.074 MB / 0.9693 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001639/0.5259, allocations: 1.614 MB / 0.9709 GB, free: 9.527 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000364/0.5263, allocations: 202.3 kB / 0.9711 GB, free: 9.523 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006788/0.527, allocations: 323.6 kB / 0.9714 GB, free: 9.457 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006463/0.5277, allocations: 0.7007 MB / 0.9721 GB, free: 8.961 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001156/0.5288, allocations: 1.209 MB / 0.9732 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002775/0.5316, allocations: 3.434 MB / 0.9766 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.5316, allocations: 4 kB / 0.9766 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5316, allocations: 1.406 kB / 0.9766 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.538e-05/0.5317, allocations: 0 / 0.9766 GB, free: 5.867 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.006384/0.538, allocations: 3.407 MB / 0.9799 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.5381, allocations: 8.031 kB / 0.9799 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001004/0.5382, allocations: 94.7 kB / 0.98 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003718/0.5386, allocations: 241.9 kB / 0.9802 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00269/0.5413, allocations: 1.878 MB / 0.9821 GB, free: 420 kB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.573e-05/0.5413, allocations: 61 kB / 0.9821 GB, free: 360 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001922/0.5415, allocations: 91.94 kB / 0.9822 GB, free: 268 kB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.5426, allocations: 0.7169 MB / 0.9829 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.5426, allocations: 4 kB / 0.9829 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.445e-05/0.5426, allocations: 16 kB / 0.9829 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.5427, allocations: 12 kB / 0.983 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.5441, allocations: 0.9797 MB / 0.9839 GB, free: 14.52 MB / 0.7481 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00974/0.5538, allocations: 4.53 MB / 0.9883 GB, free: 9.852 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001246/0.5551, allocations: 0.7828 MB / 0.9891 GB, free: 9.059 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006317/0.5558, allocations: 0.5005 MB / 0.9896 GB, free: 8.555 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.317e-05/0.5558, allocations: 4.719 kB / 0.9896 GB, free: 8.551 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.5558, allocations: 42.5 kB / 0.9896 GB, free: 8.5 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=44): time 1.703e-06/0.5558, allocations: 4 kB / 0.9896 GB, free: 8.496 MB / 0.7481 GB Notification: Performance of matching and sorting (n=44): time 0.009353/0.5652, allocations: 3.47 MB / 0.993 GB, free: 4.992 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.5652, allocations: 67.23 kB / 0.9931 GB, free: 4.914 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00338/0.5686, allocations: 2.964 MB / 0.996 GB, free: 1.938 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001387/0.5688, allocations: 53.7 kB / 0.996 GB, free: 1.879 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008452/0.5696, allocations: 0.8669 MB / 0.9969 GB, free: 1.004 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/0.5698, allocations: 157.7 kB / 0.997 GB, free: 0.8477 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005796/0.5704, allocations: 335.5 kB / 0.9974 GB, free: 0.5156 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.5705, allocations: 357.9 kB / 0.9977 GB, free: 164 kB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001905/0.5724, allocations: 1.374 MB / 0.999 GB, free: 14.79 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00216/0.5746, allocations: 1.62 MB / 1.001 GB, free: 13.16 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002585/0.5772, allocations: 1.926 MB / 1.003 GB, free: 11.22 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.5772, allocations: 0 / 1.003 GB, free: 11.22 MB / 0.7637 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.006825/0.584, allocations: 4.09 MB / 1.006 GB, free: 7.117 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.584, allocations: 4 kB / 1.007 GB, free: 7.113 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.5841, allocations: 8 kB / 1.007 GB, free: 7.105 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003114/0.5872, allocations: 1.109 MB / 1.008 GB, free: 5.992 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/0.5884, allocations: 219.7 kB / 1.008 GB, free: 5.777 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0114/0.5998, allocations: 7.957 MB / 1.016 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/0.6015, allocations: 262 kB / 1.016 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000143/0.6016, allocations: 44 kB / 1.016 GB, free: 13.37 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (126): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(11,31,46.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00103/0.6027, allocations: 0.8017 MB / 1.017 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002309/0.6029, allocations: 213.2 kB / 1.017 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003722/0.6033, allocations: 254.7 kB / 1.017 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.6033, allocations: 4.109 kB / 1.017 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.549e-05/0.6033, allocations: 11.94 kB / 1.017 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.6033, allocations: 3.984 kB / 1.017 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001335/0.6047, allocations: 1.24 MB / 1.018 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.6047, allocations: 4 kB / 1.018 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.579e-05/0.6047, allocations: 4 kB / 1.018 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00293/0.6077, allocations: 1.031 MB / 1.019 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.562e-05/0.6077, allocations: 11.94 kB / 1.019 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0117/0.6194, allocations: 7.932 MB / 1.027 GB, free: 1.645 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.6194, allocations: 0 / 1.027 GB, free: 1.645 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003577/0.623, allocations: 1.957 MB / 1.029 GB, free: 15.66 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006086/0.6237, allocations: 438.1 kB / 1.029 GB, free: 15.21 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002115/0.6239, allocations: 12 kB / 1.029 GB, free: 15.2 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006239/0.6245, allocations: 31.81 kB / 1.029 GB, free: 15.17 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.6246, allocations: 43.94 kB / 1.03 GB, free: 15.13 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.091e-05/0.6247, allocations: 8 kB / 1.03 GB, free: 15.12 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002525/0.6272, allocations: 2.055 MB / 1.032 GB, free: 13.06 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6272, allocations: 0 / 1.032 GB, free: 13.06 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001326/0.6286, allocations: 0.6053 MB / 1.032 GB, free: 12.45 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(13,29,43.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004169/0.6327, allocations: 2.57 MB / 1.035 GB, free: 9.855 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.004593/0.6373, allocations: 2.823 MB / 1.037 GB, free: 7.02 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.6373, allocations: 4.062 kB / 1.037 GB, free: 7.016 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002219/0.6396, allocations: 1.028 MB / 1.038 GB, free: 5.977 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002266/0.6419, allocations: 0.6846 MB / 1.039 GB, free: 5.312 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03718/0.679, allocations: 27.9 MB / 1.066 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001535/0.6806, allocations: 1.907 MB / 1.068 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0007767/0.6814, allocations: 333.6 kB / 1.068 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009146/0.6823, allocations: 0.7063 MB / 1.069 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of SimCode: time 4.51e-07/0.6823, allocations: 0 / 1.069 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08919/0.7715, allocations: 61.62 MB / 1.129 GB, free: 8.102 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.901/10.67, allocations: 11.09 kB / 1.129 GB, free: 8.094 MB / 0.8887 GB (rm -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.fmu > Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches