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.003962/0.003962, allocations: 97.27 kB / 15.73 MB, free: 6.066 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.0009803/0.0009804, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.199/1.199, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.203/2.203, allocations: 437.1 MB / 0.7105 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 64.14 kB / 1.018 GB, free: 9.762 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6619/0.6631, allocations: 151.6 MB / 1.166 GB, free: 3.715 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.007468/0.6706, allocations: 7.231 MB / 1.173 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.007063/0.6777, allocations: 5.554 MB / 1.179 GB, free: 6.883 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008581/0.6786, allocations: 55.69 kB / 1.179 GB, free: 6.828 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00365/0.6823, allocations: 1.68 MB / 1.18 GB, free: 5.141 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001284/0.6836, allocations: 0.6321 MB / 1.181 GB, free: 4.504 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009442/0.6846, allocations: 381 kB / 1.181 GB, free: 4.133 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002555/0.6871, allocations: 2.939 MB / 1.184 GB, free: 1.188 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006152/0.6878, allocations: 0.5449 MB / 1.185 GB, free: 0.6172 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001326/0.6891, allocations: 1.113 MB / 1.186 GB, free: 15.5 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001617/0.6908, allocations: 1.616 MB / 1.187 GB, free: 13.88 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000301/0.6911, allocations: 200 kB / 1.188 GB, free: 13.68 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005705/0.6916, allocations: 323.8 kB / 1.188 GB, free: 13.37 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005896/0.6922, allocations: 0.7011 MB / 1.189 GB, free: 12.66 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001124/0.6934, allocations: 1.209 MB / 1.19 GB, free: 11.45 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003152/0.6965, allocations: 3.686 MB / 1.193 GB, free: 7.75 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.6966, allocations: 0 / 1.193 GB, free: 7.75 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6966, allocations: 0 / 1.193 GB, free: 7.75 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.858e-05/0.6966, allocations: 4 kB / 1.193 GB, free: 7.746 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.006497/0.7031, allocations: 3.533 MB / 1.197 GB, free: 4.141 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.7032, allocations: 8.625 kB / 1.197 GB, free: 4.133 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.386e-05/0.7033, allocations: 90.72 kB / 1.197 GB, free: 4.035 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003707/0.7036, allocations: 259.3 kB / 1.197 GB, free: 3.781 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003285/0.7069, allocations: 2.009 MB / 1.199 GB, free: 1.711 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.187e-05/0.707, allocations: 61 kB / 1.199 GB, free: 1.652 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002036/0.7072, allocations: 88 kB / 1.199 GB, free: 1.566 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000994/0.7082, allocations: 0.713 MB / 1.2 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.7082, allocations: 0 / 1.2 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.969e-05/0.7083, allocations: 16 kB / 1.2 GB, free: 0.832 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.7083, allocations: 12 kB / 1.2 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001346/0.7096, allocations: 0.9836 MB / 1.201 GB, free: 15.84 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.01007/0.7197, allocations: 4.504 MB / 1.205 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001232/0.721, allocations: 0.7921 MB / 1.206 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006192/0.7216, allocations: 0.4942 MB / 1.207 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.509e-05/0.7216, allocations: 4 kB / 1.207 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.7217, allocations: 42.5 kB / 1.207 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=44): time 2.415e-06/0.7217, allocations: 0 / 1.207 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of matching and sorting (n=44): time 0.0091/0.7308, allocations: 3.478 MB / 1.21 GB, free: 6.324 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.7308, allocations: 67.34 kB / 1.21 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003977/0.7348, allocations: 2.949 MB / 1.213 GB, free: 3.285 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0002052/0.735, allocations: 49.7 kB / 1.213 GB, free: 3.23 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009296/0.736, allocations: 0.8635 MB / 1.214 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/0.7361, allocations: 166.6 kB / 1.214 GB, free: 2.195 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006463/0.7368, allocations: 331.5 kB / 1.214 GB, free: 1.863 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.7369, allocations: 365.9 kB / 1.215 GB, free: 1.5 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001797/0.7387, allocations: 1.374 MB / 1.216 GB, free: 128 kB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002138/0.7409, allocations: 1.62 MB / 1.218 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002499/0.7434, allocations: 1.922 MB / 1.22 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.7434, allocations: 0 / 1.22 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.006758/0.7502, allocations: 4.103 MB / 1.224 GB, free: 8.441 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.7502, allocations: 7.938 kB / 1.224 GB, free: 8.434 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-06/0.7502, allocations: 4 kB / 1.224 GB, free: 8.43 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003/0.7532, allocations: 1.105 MB / 1.225 GB, free: 7.32 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/0.7544, allocations: 219.7 kB / 1.225 GB, free: 7.105 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01147/0.7659, allocations: 7.972 MB / 1.233 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001954/0.7678, allocations: 262.5 kB / 1.233 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002239/0.7681, allocations: 43.98 kB / 1.233 GB, free: 14.69 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.00121/0.7693, allocations: 0.8017 MB / 1.234 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004205/0.7697, allocations: 222.5 kB / 1.234 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000552/0.7703, allocations: 254.7 kB / 1.234 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.7703, allocations: 12 kB / 1.234 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.338e-05/0.7703, allocations: 7.984 kB / 1.234 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.7703, allocations: 7.984 kB / 1.234 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00178/0.7721, allocations: 1.221 MB / 1.235 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.7721, allocations: 0 / 1.235 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.555e-05/0.7722, allocations: 4 kB / 1.235 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002822/0.775, allocations: 1.023 MB / 1.236 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.571e-05/0.7751, allocations: 12 kB / 1.236 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01128/0.7864, allocations: 7.95 MB / 1.244 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.7864, allocations: 7.938 kB / 1.244 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003611/0.79, allocations: 1.966 MB / 1.246 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009839/0.791, allocations: 447.4 kB / 1.247 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003537/0.7914, allocations: 8 kB / 1.247 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007493/0.7921, allocations: 39.84 kB / 1.247 GB, free: 476 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.7922, allocations: 31.95 kB / 1.247 GB, free: 444 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.014e-05/0.7923, allocations: 12 kB / 1.247 GB, free: 432 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.003171/0.7955, allocations: 2.04 MB / 1.249 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7955, allocations: 0 / 1.249 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001671/0.7971, allocations: 0.6169 MB / 1.249 GB, free: 13.76 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.004107/0.8013, allocations: 2.573 MB / 1.252 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.004951/0.8062, allocations: 2.834 MB / 1.255 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.8062, allocations: 0 / 1.255 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002254/0.8085, allocations: 1.036 MB / 1.256 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002739/0.8112, allocations: 0.6662 MB / 1.256 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03782/0.8491, allocations: 25.28 MB / 1.281 GB, free: 13.11 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001892/0.851, allocations: 1.915 MB / 1.283 GB, free: 11.16 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009167/0.8519, allocations: 321.9 kB / 1.283 GB, free: 10.84 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009942/0.853, allocations: 0.7141 MB / 1.284 GB, free: 10.13 MB / 1.014 GB Notification: Performance of SimCode: time 9.22e-07/0.853, allocations: 0 / 1.284 GB, free: 10.13 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09202/0.945, allocations: 62.17 MB / 1.344 GB, free: 12.58 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/13.24, allocations: 20.03 kB / 1.344 GB, free: 12.57 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