Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange,fileNamePrefix="Buildings_10_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.001308/0.001308, 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.001316/0.001316, allocations: 194.6 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.302/1.302, 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 10.1.1-maint.10.0.x/package.mo): time 2.46/2.46, allocations: 437.1 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 63.91 kB / 0.8693 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4946/0.4959, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.007631/0.5035, allocations: 7.218 MB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.007653/0.5112, allocations: 5.559 MB / 1.03 GB, free: 5.641 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001068/0.5123, allocations: 43.75 kB / 1.03 GB, free: 5.598 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.004111/0.5164, allocations: 1.683 MB / 1.032 GB, free: 3.906 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001593/0.5181, allocations: 0.6204 MB / 1.032 GB, free: 3.281 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.5191, allocations: 385.5 kB / 1.033 GB, free: 2.906 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.002849/0.522, allocations: 2.924 MB / 1.035 GB, free: 15.98 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006939/0.5227, allocations: 0.5488 MB / 1.036 GB, free: 15.41 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001134/0.5239, allocations: 1.078 MB / 1.037 GB, free: 14.32 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001636/0.5255, allocations: 1.616 MB / 1.039 GB, free: 12.7 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0003285/0.5258, allocations: 203.9 kB / 1.039 GB, free: 12.5 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000629/0.5265, allocations: 311.8 kB / 1.039 GB, free: 12.2 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0005768/0.5271, allocations: 0.705 MB / 1.04 GB, free: 11.49 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001055/0.5281, allocations: 1.213 MB / 1.041 GB, free: 10.27 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002535/0.5307, allocations: 3.439 MB / 1.044 GB, free: 6.824 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.5307, allocations: 4 kB / 1.044 GB, free: 6.82 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5307, allocations: 0 / 1.044 GB, free: 6.82 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.44e-05/0.5307, allocations: 0 / 1.044 GB, free: 6.82 MB / 0.795 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.006273/0.537, allocations: 3.39 MB / 1.048 GB, free: 3.359 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.5371, allocations: 8.031 kB / 1.048 GB, free: 3.352 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.368e-05/0.5372, allocations: 94.64 kB / 1.048 GB, free: 3.25 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003506/0.5375, allocations: 241.9 kB / 1.048 GB, free: 3.012 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002575/0.5401, allocations: 1.89 MB / 1.05 GB, free: 1.059 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.658e-05/0.5401, allocations: 69 kB / 1.05 GB, free: 0.9922 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001811/0.5403, allocations: 88 kB / 1.05 GB, free: 0.9062 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009652/0.5413, allocations: 0.7207 MB / 1.051 GB, free: 184 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.5413, allocations: 0 / 1.051 GB, free: 184 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.354e-05/0.5414, allocations: 16 kB / 1.051 GB, free: 168 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.5414, allocations: 8 kB / 1.051 GB, free: 160 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001346/0.5428, allocations: 0.9797 MB / 1.052 GB, free: 15.18 MB / 0.8106 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.009936/0.5527, allocations: 4.526 MB / 1.056 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001216/0.5539, allocations: 0.7937 MB / 1.057 GB, free: 9.707 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005844/0.5545, allocations: 0.4934 MB / 1.057 GB, free: 9.211 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.282e-05/0.5546, allocations: 7.953 kB / 1.057 GB, free: 9.203 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.5546, allocations: 42.5 kB / 1.057 GB, free: 9.152 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=44): time 2.414e-06/0.5546, allocations: 0 / 1.057 GB, free: 9.152 MB / 0.8106 GB Notification: Performance of matching and sorting (n=44): time 0.00938/0.564, allocations: 3.465 MB / 1.061 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.5641, allocations: 67.28 kB / 1.061 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00378/0.5679, allocations: 2.968 MB / 1.064 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0002683/0.5681, allocations: 49.7 kB / 1.064 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009134/0.5691, allocations: 0.8591 MB / 1.065 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001569/0.5692, allocations: 161.7 kB / 1.065 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007027/0.5699, allocations: 335.5 kB / 1.065 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.57, allocations: 361.9 kB / 1.065 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001799/0.5719, allocations: 1.367 MB / 1.067 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002124/0.574, allocations: 1.628 MB / 1.068 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002495/0.5765, allocations: 1.918 MB / 1.07 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.5765, allocations: 96 / 1.07 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.006947/0.5835, allocations: 4.097 MB / 1.074 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.5835, allocations: 8 kB / 1.074 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.5835, allocations: 0 / 1.074 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003111/0.5866, allocations: 1.108 MB / 1.075 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/0.5878, allocations: 223.7 kB / 1.075 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01118/0.599, allocations: 7.958 MB / 1.083 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001931/0.6009, allocations: 266 kB / 1.084 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001901/0.6011, allocations: 40 kB / 1.084 GB, free: 14.02 MB / 0.8419 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.0011/0.6022, allocations: 0.8056 MB / 1.084 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003703/0.6026, allocations: 217.1 kB / 1.085 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000491/0.6031, allocations: 250.7 kB / 1.085 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.6031, allocations: 4 kB / 1.085 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.112e-05/0.6031, allocations: 8 kB / 1.085 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.6032, allocations: 0 / 1.085 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001344/0.6045, allocations: 1.24 MB / 1.086 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.6045, allocations: 0 / 1.086 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.666e-05/0.6046, allocations: 7.984 kB / 1.086 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002863/0.6074, allocations: 1.027 MB / 1.087 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.249e-05/0.6075, allocations: 4 kB / 1.087 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0108/0.6183, allocations: 7.949 MB / 1.095 GB, free: 2.297 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.6183, allocations: 0 / 1.095 GB, free: 2.297 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003621/0.622, allocations: 1.956 MB / 1.097 GB, free: 324 kB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006757/0.6226, allocations: 446.3 kB / 1.097 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001917/0.6228, allocations: 4 kB / 1.097 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006036/0.6235, allocations: 39.81 kB / 1.097 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.6236, allocations: 43.88 kB / 1.097 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.801e-05/0.6236, allocations: 8 kB / 1.097 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.002446/0.6261, allocations: 2.055 MB / 1.099 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.9e-07/0.6261, allocations: 0 / 1.099 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001365/0.6275, allocations: 0.6132 MB / 1.1 GB, free: 13.09 MB / 0.8575 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.003936/0.6314, allocations: 2.566 MB / 1.102 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.004562/0.636, allocations: 2.826 MB / 1.105 GB, free: 7.648 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.636, allocations: 0 / 1.105 GB, free: 7.648 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.002133/0.6381, allocations: 1.035 MB / 1.106 GB, free: 6.602 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002258/0.6404, allocations: 0.6645 MB / 1.107 GB, free: 5.953 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03437/0.6748, allocations: 27.89 MB / 1.134 GB, free: 8.684 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001321/0.6761, allocations: 1.911 MB / 1.136 GB, free: 6.738 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.000841/0.677, allocations: 325.6 kB / 1.136 GB, free: 6.414 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008492/0.6778, allocations: 0.7063 MB / 1.137 GB, free: 5.707 MB / 0.8887 GB Notification: Performance of SimCode: time 1.603e-06/0.6778, allocations: 0 / 1.137 GB, free: 5.707 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09006/0.7679, allocations: 61.62 MB / 1.197 GB, free: 8.75 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.853/10.62, allocations: 7.125 kB / 1.197 GB, free: 8.746 MB / 0.9512 GB (rm -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.fmu > Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches