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.005998/0.005998, allocations: 102.1 kB / 15.73 MB, free: 5.508 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.001135/0.001135, allocations: 197.3 kB / 16.68 MB, free: 5.438 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.246/1.246, allocations: 222.9 MB / 240.4 MB, free: 4.289 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.357/2.357, allocations: 437.1 MB / 0.7106 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 67.89 kB / 1.018 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2572, allocations: 151.6 MB / 1.166 GB, free: 7.141 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.008524/0.2657, allocations: 7.24 MB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.007504/0.2732, allocations: 5.543 MB / 1.179 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006271/0.2739, allocations: 51.69 kB / 1.179 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.003774/0.2777, allocations: 1.679 MB / 1.18 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001153/0.2788, allocations: 0.6204 MB / 1.181 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008856/0.2797, allocations: 378.8 kB / 1.181 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002953/0.2827, allocations: 2.95 MB / 1.184 GB, free: 4.605 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000687/0.2834, allocations: 0.5371 MB / 1.185 GB, free: 4.047 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001285/0.2847, allocations: 1.078 MB / 1.186 GB, free: 2.965 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001976/0.2867, allocations: 1.62 MB / 1.187 GB, free: 1.34 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003662/0.2871, allocations: 196 kB / 1.188 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006979/0.2878, allocations: 327.8 kB / 1.188 GB, free: 0.8281 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0007005/0.2885, allocations: 0.6971 MB / 1.189 GB, free: 132 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001303/0.2898, allocations: 1.209 MB / 1.19 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003602/0.2934, allocations: 3.686 MB / 1.193 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2934, allocations: 0 / 1.193 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.572e-06/0.2934, allocations: 0 / 1.193 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.873e-05/0.2935, allocations: 0 / 1.193 GB, free: 11.21 MB / 0.9512 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.006978/0.3004, allocations: 3.545 MB / 1.197 GB, free: 7.598 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.3005, allocations: 8.031 kB / 1.197 GB, free: 7.59 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001088/0.3006, allocations: 90.72 kB / 1.197 GB, free: 7.492 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003992/0.301, allocations: 255.3 kB / 1.197 GB, free: 7.242 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00312/0.3041, allocations: 2.001 MB / 1.199 GB, free: 5.176 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.387e-05/0.3042, allocations: 72.94 kB / 1.199 GB, free: 5.105 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001961/0.3044, allocations: 88 kB / 1.199 GB, free: 5.02 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/0.3055, allocations: 0.713 MB / 1.2 GB, free: 4.301 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.3055, allocations: 0 / 1.2 GB, free: 4.301 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.395e-05/0.3056, allocations: 16 kB / 1.2 GB, free: 4.285 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.3056, allocations: 12 kB / 1.2 GB, free: 4.273 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001564/0.3072, allocations: 0.9836 MB / 1.201 GB, free: 3.289 MB / 0.9512 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.01045/0.3176, allocations: 4.5 MB / 1.205 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001359/0.319, allocations: 0.7948 MB / 1.206 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006885/0.3197, allocations: 0.4966 MB / 1.207 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.25e-05/0.3198, allocations: 4 kB / 1.207 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.3198, allocations: 46.44 kB / 1.207 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=44): time 1.553e-06/0.3198, allocations: 0 / 1.207 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of matching and sorting (n=44): time 0.01058/0.3304, allocations: 3.482 MB / 1.21 GB, free: 9.773 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.3305, allocations: 63.34 kB / 1.21 GB, free: 9.699 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003966/0.3344, allocations: 2.949 MB / 1.213 GB, free: 6.738 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0002283/0.3347, allocations: 53.7 kB / 1.213 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.00097/0.3357, allocations: 0.8595 MB / 1.214 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001764/0.3358, allocations: 170.6 kB / 1.214 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006276/0.3365, allocations: 331.5 kB / 1.214 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001789/0.3367, allocations: 361.9 kB / 1.215 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002036/0.3387, allocations: 1.374 MB / 1.216 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002379/0.3411, allocations: 1.62 MB / 1.218 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002826/0.3439, allocations: 1.922 MB / 1.22 GB, free: 16 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.3439, allocations: 0 / 1.22 GB, free: 16 kB / 0.9669 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.007706/0.3517, allocations: 4.099 MB / 1.224 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.3517, allocations: 4 kB / 1.224 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.3517, allocations: 0 / 1.224 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003437/0.3551, allocations: 1.108 MB / 1.225 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/0.3564, allocations: 223.7 kB / 1.225 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01268/0.3691, allocations: 7.96 MB / 1.233 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002005/0.3711, allocations: 258.6 kB / 1.233 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001568/0.3713, allocations: 47.97 kB / 1.233 GB, free: 2.152 MB / 0.9825 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.001178/0.3724, allocations: 0.8018 MB / 1.234 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002703/0.3727, allocations: 226.4 kB / 1.234 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004992/0.3732, allocations: 258.7 kB / 1.234 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.3732, allocations: 4 kB / 1.234 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.239e-05/0.3733, allocations: 12 kB / 1.234 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.3733, allocations: 3.984 kB / 1.234 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001471/0.3748, allocations: 1.228 MB / 1.235 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.3748, allocations: 4 kB / 1.235 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.599e-05/0.3748, allocations: 4.094 kB / 1.235 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003234/0.3781, allocations: 1.031 MB / 1.236 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.477e-05/0.3781, allocations: 4 kB / 1.236 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01243/0.3905, allocations: 7.942 MB / 1.244 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.3906, allocations: 3.984 kB / 1.244 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003816/0.3944, allocations: 1.966 MB / 1.246 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006468/0.3951, allocations: 455.3 kB / 1.247 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001736/0.3952, allocations: 4 kB / 1.247 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005701/0.3958, allocations: 39.91 kB / 1.247 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.3959, allocations: 31.95 kB / 1.247 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.328e-05/0.396, allocations: 12 kB / 1.247 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002541/0.3985, allocations: 2.036 MB / 1.249 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3985, allocations: 4 kB / 1.249 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001335/0.3999, allocations: 0.6091 MB / 1.249 GB, free: 1.227 MB / 0.9981 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.4148/0.8147, allocations: 2.573 MB / 1.252 GB, free: 77.49 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004539/0.8193, allocations: 2.811 MB / 1.254 GB, free: 77.31 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.8193, allocations: 0 / 1.254 GB, free: 77.31 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002079/0.8214, allocations: 1.047 MB / 1.256 GB, free: 77.13 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002382/0.8238, allocations: 0.6789 MB / 1.256 GB, free: 76.96 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03167/0.8555, allocations: 25.27 MB / 1.281 GB, free: 67.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00132/0.8568, allocations: 1.917 MB / 1.283 GB, free: 66.89 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009005/0.8577, allocations: 335.2 kB / 1.283 GB, free: 66.86 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007042/0.8584, allocations: 0.7068 MB / 1.284 GB, free: 66.29 MB / 0.9981 GB Notification: Performance of SimCode: time 7.41e-07/0.8584, allocations: 0 / 1.284 GB, free: 66.29 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.685/3.544, allocations: 62.18 MB / 1.344 GB, free: 23 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.71/26.25, allocations: 9.75 kB / 1.344 GB, free: 23 MB / 0.9981 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat --tempDir=temp_Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 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.mat","/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