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.007142/0.007142, allocations: 101.2 kB / 15.73 MB, free: 6.004 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.001817/0.001817, allocations: 187.1 kB / 16.67 MB, free: 5.922 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.465/2.465, allocations: 437.1 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 59.91 kB / 1.018 GB, free: 9.793 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6776/0.6794, allocations: 151.6 MB / 1.166 GB, free: 3.75 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.008889/0.6884, allocations: 7.226 MB / 1.173 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.008328/0.6967, allocations: 5.546 MB / 1.179 GB, free: 6.926 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001326/0.6981, allocations: 47.75 kB / 1.179 GB, free: 6.879 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.004716/0.7028, allocations: 1.68 MB / 1.18 GB, free: 5.191 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001945/0.7048, allocations: 0.6243 MB / 1.181 GB, free: 4.562 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.7062, allocations: 388.6 kB / 1.181 GB, free: 4.184 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003784/0.7099, allocations: 2.941 MB / 1.184 GB, free: 1.238 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000823/0.7108, allocations: 0.5449 MB / 1.185 GB, free: 0.6719 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001799/0.7127, allocations: 1.086 MB / 1.186 GB, free: 15.58 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002314/0.715, allocations: 1.604 MB / 1.187 GB, free: 13.97 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.00054/0.7155, allocations: 199.9 kB / 1.188 GB, free: 13.78 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008685/0.7164, allocations: 319.8 kB / 1.188 GB, free: 13.46 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0007787/0.7172, allocations: 0.705 MB / 1.189 GB, free: 12.76 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001675/0.7189, allocations: 1.213 MB / 1.19 GB, free: 11.54 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004437/0.7233, allocations: 3.682 MB / 1.193 GB, free: 7.844 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.7234, allocations: 0 / 1.193 GB, free: 7.844 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.014e-06/0.7234, allocations: 0 / 1.193 GB, free: 7.844 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.622e-05/0.7235, allocations: 3.938 kB / 1.193 GB, free: 7.84 MB / 0.92 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.007679/0.7312, allocations: 3.533 MB / 1.197 GB, free: 4.234 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.7312, allocations: 12.86 kB / 1.197 GB, free: 4.223 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001225/0.7313, allocations: 90.7 kB / 1.197 GB, free: 4.125 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004896/0.7318, allocations: 259.3 kB / 1.197 GB, free: 3.871 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003527/0.7354, allocations: 2.001 MB / 1.199 GB, free: 1.809 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.683e-05/0.7355, allocations: 61 kB / 1.199 GB, free: 1.75 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002225/0.7357, allocations: 92 kB / 1.199 GB, free: 1.66 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/0.7369, allocations: 0.7207 MB / 1.2 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.7369, allocations: 7.922 kB / 1.2 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.235e-05/0.7369, allocations: 16 kB / 1.2 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/0.737, allocations: 12 kB / 1.2 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001563/0.7385, allocations: 0.9758 MB / 1.201 GB, free: 15.92 MB / 0.9356 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.01109/0.7496, allocations: 4.5 MB / 1.205 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001415/0.7511, allocations: 0.7977 MB / 1.206 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006938/0.7518, allocations: 0.4968 MB / 1.207 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.175e-05/0.7518, allocations: 4 kB / 1.207 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.7519, allocations: 42.5 kB / 1.207 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=44): time 2.635e-06/0.7519, allocations: 0 / 1.207 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of matching and sorting (n=44): time 0.01015/0.762, allocations: 3.478 MB / 1.21 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.7621, allocations: 59.34 kB / 1.21 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00445/0.7666, allocations: 2.953 MB / 1.213 GB, free: 3.375 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0003482/0.767, allocations: 53.7 kB / 1.213 GB, free: 3.316 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001079/0.7681, allocations: 0.8596 MB / 1.214 GB, free: 2.449 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002228/0.7683, allocations: 166.6 kB / 1.214 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006564/0.7689, allocations: 331.5 kB / 1.214 GB, free: 1.953 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002133/0.7692, allocations: 369.9 kB / 1.215 GB, free: 1.586 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00203/0.7712, allocations: 1.366 MB / 1.216 GB, free: 224 kB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002438/0.7737, allocations: 1.624 MB / 1.218 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002873/0.7765, allocations: 1.926 MB / 1.22 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/0.7766, allocations: 0 / 1.22 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.007829/0.7844, allocations: 4.099 MB / 1.224 GB, free: 8.535 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/0.7845, allocations: 12 kB / 1.224 GB, free: 8.523 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.7845, allocations: 0 / 1.224 GB, free: 8.523 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003277/0.7878, allocations: 1.101 MB / 1.225 GB, free: 7.418 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/0.789, allocations: 231.7 kB / 1.225 GB, free: 7.191 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01267/0.8017, allocations: 7.96 MB / 1.233 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002084/0.8038, allocations: 266.5 kB / 1.233 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000263/0.8041, allocations: 44 kB / 1.233 GB, free: 14.77 MB / 0.9669 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.00134/0.8055, allocations: 0.8067 MB / 1.234 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004174/0.8059, allocations: 222.5 kB / 1.234 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005427/0.8065, allocations: 258.8 kB / 1.234 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.8065, allocations: 7.938 kB / 1.234 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.546e-05/0.8065, allocations: 8 kB / 1.234 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.8065, allocations: 3.984 kB / 1.234 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001676/0.8082, allocations: 1.224 MB / 1.235 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.8082, allocations: 3.984 kB / 1.235 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.526e-05/0.8083, allocations: 0 / 1.235 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003068/0.8114, allocations: 1.02 MB / 1.236 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.378e-05/0.8114, allocations: 12 kB / 1.236 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01251/0.8239, allocations: 7.942 MB / 1.244 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.824, allocations: 0 / 1.244 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004057/0.828, allocations: 1.973 MB / 1.246 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000913/0.829, allocations: 451.4 kB / 1.247 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002342/0.8292, allocations: 15.92 kB / 1.247 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006162/0.8299, allocations: 35.86 kB / 1.247 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/0.83, allocations: 35.94 kB / 1.247 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.074e-05/0.8301, allocations: 12 kB / 1.247 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.003129/0.8332, allocations: 2.04 MB / 1.249 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.3e-07/0.8332, allocations: 0 / 1.249 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001783/0.835, allocations: 0.6091 MB / 1.249 GB, free: 13.85 MB / 0.9825 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.004601/0.8396, allocations: 2.583 MB / 1.252 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.005428/0.8451, allocations: 2.834 MB / 1.254 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.8451, allocations: 0 / 1.254 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002343/0.8475, allocations: 1.032 MB / 1.255 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00278/0.8503, allocations: 0.6552 MB / 1.256 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0423/0.8926, allocations: 25.28 MB / 1.281 GB, free: 13.21 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001864/0.8945, allocations: 1.915 MB / 1.283 GB, free: 11.26 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001089/0.8956, allocations: 329.9 kB / 1.283 GB, free: 10.93 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001112/0.8967, allocations: 0.7063 MB / 1.284 GB, free: 10.22 MB / 1.014 GB Notification: Performance of SimCode: time 5.51e-07/0.8967, allocations: 0 / 1.284 GB, free: 10.22 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1128/1.01, allocations: 62.19 MB / 1.344 GB, free: 12.67 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.4/14.41, allocations: 10.2 kB / 1.344 GB, free: 12.66 MB / 1.076 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