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.007558/0.007558, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001713/0.001713, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.292/1.292, allocations: 222.9 MB / 240.4 MB, free: 4.184 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.441/2.441, allocations: 437 MB / 0.7105 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 55.91 kB / 1.018 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2722, allocations: 151.6 MB / 1.166 GB, free: 7.207 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.008151/0.2804, allocations: 7.231 MB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.008034/0.2885, allocations: 5.544 MB / 1.179 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001447/0.29, allocations: 51.75 kB / 1.179 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.004727/0.2947, allocations: 1.695 MB / 1.18 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002012/0.2968, allocations: 0.6321 MB / 1.181 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001378/0.2982, allocations: 390.7 kB / 1.181 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003459/0.3017, allocations: 2.938 MB / 1.184 GB, free: 4.656 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008415/0.3025, allocations: 0.5371 MB / 1.185 GB, free: 4.098 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001819/0.3044, allocations: 1.102 MB / 1.186 GB, free: 2.992 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002175/0.3066, allocations: 1.624 MB / 1.187 GB, free: 1.363 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0007085/0.3073, allocations: 200 kB / 1.188 GB, free: 1.168 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001187/0.3085, allocations: 323.7 kB / 1.188 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0009326/0.3094, allocations: 0.6894 MB / 1.189 GB, free: 164 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001991/0.3114, allocations: 1.213 MB / 1.19 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00406/0.3155, allocations: 3.676 MB / 1.193 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.3155, allocations: 4 kB / 1.193 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3156, allocations: 4 kB / 1.193 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.642e-05/0.3157, allocations: 0 / 1.193 GB, free: 11.25 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.00751/0.3232, allocations: 3.464 MB / 1.197 GB, free: 7.715 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.3232, allocations: 8.031 kB / 1.197 GB, free: 7.707 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001908/0.3234, allocations: 82.72 kB / 1.197 GB, free: 7.617 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006278/0.3241, allocations: 257.8 kB / 1.197 GB, free: 7.363 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003711/0.3278, allocations: 1.98 MB / 1.199 GB, free: 5.316 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.89e-05/0.3279, allocations: 65 kB / 1.199 GB, free: 5.254 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002231/0.3281, allocations: 91.98 kB / 1.199 GB, free: 5.164 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.3291, allocations: 0.7168 MB / 1.2 GB, free: 4.441 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.3291, allocations: 0 / 1.2 GB, free: 4.441 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.761e-05/0.3292, allocations: 16 kB / 1.2 GB, free: 4.426 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.3292, allocations: 8 kB / 1.2 GB, free: 4.418 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001342/0.3306, allocations: 0.9836 MB / 1.201 GB, free: 3.434 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.01004/0.3406, allocations: 4.487 MB / 1.205 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/0.3419, allocations: 0.7919 MB / 1.206 GB, free: 14 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000624/0.3425, allocations: 0.4966 MB / 1.207 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.386e-05/0.3426, allocations: 4 kB / 1.207 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.3426, allocations: 38.5 kB / 1.207 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=44): time 4.018e-06/0.3426, allocations: 7.938 kB / 1.207 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of matching and sorting (n=44): time 0.00938/0.352, allocations: 3.473 MB / 1.21 GB, free: 9.938 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.3521, allocations: 59.34 kB / 1.21 GB, free: 9.867 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004797/0.3569, allocations: 2.952 MB / 1.213 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0003999/0.3573, allocations: 53.7 kB / 1.213 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001123/0.3585, allocations: 0.8552 MB / 1.214 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002161/0.3587, allocations: 161.8 kB / 1.214 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005861/0.3593, allocations: 331.5 kB / 1.214 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.3594, allocations: 361.9 kB / 1.215 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001728/0.3612, allocations: 1.378 MB / 1.216 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002017/0.3632, allocations: 1.616 MB / 1.218 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002437/0.3657, allocations: 1.918 MB / 1.219 GB, free: 196 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.3657, allocations: 4 kB / 1.219 GB, free: 192 kB / 0.9669 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.006712/0.3724, allocations: 4.094 MB / 1.223 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.3724, allocations: 4 kB / 1.223 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.3725, allocations: 0 / 1.223 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003008/0.3755, allocations: 1.108 MB / 1.225 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/0.3767, allocations: 223.7 kB / 1.225 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01127/0.388, allocations: 7.936 MB / 1.232 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001958/0.39, allocations: 262.1 kB / 1.233 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003797/0.3904, allocations: 47.92 kB / 1.233 GB, free: 2.352 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.001434/0.3918, allocations: 0.8017 MB / 1.234 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004607/0.3923, allocations: 209.3 kB / 1.234 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005762/0.3929, allocations: 262.7 kB / 1.234 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/0.3929, allocations: 4 kB / 1.234 GB, free: 1.066 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.821e-05/0.3929, allocations: 8 kB / 1.234 GB, free: 1.059 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.3929, allocations: 7.922 kB / 1.234 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001916/0.3949, allocations: 1.228 MB / 1.235 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.792e-06/0.3949, allocations: 0 / 1.235 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.867e-05/0.395, allocations: 4 kB / 1.235 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002861/0.3978, allocations: 1.023 MB / 1.236 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.417e-05/0.3979, allocations: 8 kB / 1.236 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01123/0.4092, allocations: 7.932 MB / 1.244 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.4092, allocations: 4 kB / 1.244 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003657/0.4129, allocations: 1.96 MB / 1.246 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/0.4139, allocations: 446 kB / 1.246 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004462/0.4144, allocations: 4 kB / 1.246 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007402/0.4151, allocations: 31.86 kB / 1.246 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001582/0.4153, allocations: 35.95 kB / 1.246 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.278e-05/0.4153, allocations: 15.94 kB / 1.246 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003491/0.4188, allocations: 2.036 MB / 1.248 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.11e-07/0.4189, allocations: 4 kB / 1.248 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002018/0.4209, allocations: 0.6131 MB / 1.249 GB, free: 1.457 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.5847/1.006, allocations: 2.555 MB / 1.252 GB, free: 77.51 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005517/1.011, allocations: 2.807 MB / 1.254 GB, free: 77.35 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.011, allocations: 0 / 1.254 GB, free: 77.35 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002219/1.013, allocations: 1.046 MB / 1.255 GB, free: 77.16 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002578/1.016, allocations: 0.6755 MB / 1.256 GB, free: 77.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04143/1.057, allocations: 25.19 MB / 1.281 GB, free: 68.01 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001874/1.059, allocations: 1.919 MB / 1.282 GB, free: 67.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001465/1.061, allocations: 329.4 kB / 1.283 GB, free: 67.08 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008429/1.062, allocations: 0.7066 MB / 1.283 GB, free: 66.51 MB / 0.9981 GB Notification: Performance of SimCode: time 8.52e-07/1.062, allocations: 0 / 1.283 GB, free: 66.51 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08881/1.151, allocations: 62.19 MB / 1.344 GB, free: 23.43 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.84, allocations: 6.781 kB / 1.344 GB, free: 23.43 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=50 --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