Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange,fileNamePrefix="Buildings_9_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.001241/0.001241, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001277/0.001277, allocations: 190.3 kB / 16.25 MB, free: 6.152 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.271/1.271, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.165/2.165, allocations: 390.2 MB / 0.6644 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 63.91 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4896/0.4908, allocations: 140.4 MB / 0.9492 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.005946/0.4968, allocations: 7.175 MB / 0.9562 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005764/0.5026, allocations: 5.458 MB / 0.9616 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007283/0.5033, allocations: 43.12 kB / 0.9616 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00353/0.5069, allocations: 1.615 MB / 0.9632 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001069/0.508, allocations: 0.5476 MB / 0.9637 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008564/0.5089, allocations: 343 kB / 0.9641 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002613/0.5115, allocations: 2.953 MB / 0.9669 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006453/0.5121, allocations: 0.545 MB / 0.9675 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001616/0.5138, allocations: 1.11 MB / 0.9686 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001638/0.5154, allocations: 1.645 MB / 0.9702 GB, free: 9.883 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000297/0.5157, allocations: 197.7 kB / 0.9703 GB, free: 9.883 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005784/0.5163, allocations: 316.3 kB / 0.9706 GB, free: 9.824 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005822/0.5169, allocations: 0.6979 MB / 0.9713 GB, free: 9.332 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001089/0.518, allocations: 1.212 MB / 0.9725 GB, free: 8.492 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002746/0.5208, allocations: 3.438 MB / 0.9759 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.5208, allocations: 1.062 kB / 0.9759 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.515e-06/0.5208, allocations: 0 / 0.9759 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.698e-05/0.5208, allocations: 3.938 kB / 0.9759 GB, free: 6.23 MB / 0.7325 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.005994/0.5268, allocations: 3.402 MB / 0.9792 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.5269, allocations: 12.03 kB / 0.9792 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.808e-05/0.527, allocations: 90.66 kB / 0.9793 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003633/0.5273, allocations: 241.9 kB / 0.9795 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002711/0.5301, allocations: 1.882 MB / 0.9814 GB, free: 0.8906 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.459e-05/0.5301, allocations: 65 kB / 0.9814 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001952/0.5303, allocations: 88 kB / 0.9815 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.5313, allocations: 0.7168 MB / 0.9822 GB, free: 20 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.5314, allocations: 0 / 0.9822 GB, free: 20 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.996e-05/0.5314, allocations: 20 kB / 0.9822 GB, free: 0 / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.048e-05/0.5315, allocations: 8.047 kB / 0.9822 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001379/0.5328, allocations: 0.9797 MB / 0.9832 GB, free: 15.01 MB / 0.7481 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.009116/0.542, allocations: 4.522 MB / 0.9876 GB, free: 10.35 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/0.5432, allocations: 0.7854 MB / 0.9884 GB, free: 9.551 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005936/0.5438, allocations: 0.5005 MB / 0.9889 GB, free: 9.047 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.737e-05/0.5439, allocations: 4.719 kB / 0.9889 GB, free: 9.043 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.5439, allocations: 42.44 kB / 0.9889 GB, free: 8.992 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=44): time 1.923e-06/0.5439, allocations: 4 kB / 0.9889 GB, free: 8.988 MB / 0.7481 GB Notification: Performance of matching and sorting (n=44): time 0.009179/0.5531, allocations: 3.477 MB / 0.9923 GB, free: 5.477 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.5531, allocations: 67.23 kB / 0.9924 GB, free: 5.398 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003422/0.5565, allocations: 2.96 MB / 0.9953 GB, free: 2.426 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0002594/0.5568, allocations: 57.69 kB / 0.9953 GB, free: 2.363 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008115/0.5576, allocations: 0.8513 MB / 0.9962 GB, free: 1.504 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/0.5578, allocations: 169.7 kB / 0.9963 GB, free: 1.336 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005715/0.5584, allocations: 331.5 kB / 0.9966 GB, free: 1.008 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.5585, allocations: 365.9 kB / 0.997 GB, free: 0.6445 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001794/0.5603, allocations: 1.37 MB / 0.9983 GB, free: 15.27 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002082/0.5624, allocations: 1.624 MB / 0.9999 GB, free: 13.64 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002526/0.5649, allocations: 1.918 MB / 1.002 GB, free: 11.71 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.565, allocations: 3.938 kB / 1.002 GB, free: 11.7 MB / 0.7637 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.007083/0.572, allocations: 4.09 MB / 1.006 GB, free: 7.598 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.5721, allocations: 5.875 kB / 1.006 GB, free: 7.594 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.5721, allocations: 0 / 1.006 GB, free: 7.594 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00306/0.5752, allocations: 1.112 MB / 1.007 GB, free: 6.477 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/0.5763, allocations: 227.7 kB / 1.007 GB, free: 6.254 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01134/0.5876, allocations: 7.957 MB / 1.015 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002157/0.5898, allocations: 266 kB / 1.015 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002374/0.59, allocations: 40 kB / 1.015 GB, free: 13.85 MB / 0.7794 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.001478/0.5915, allocations: 0.8096 MB / 1.016 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003953/0.5919, allocations: 213.1 kB / 1.016 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005164/0.5924, allocations: 254.7 kB / 1.016 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.5925, allocations: 4 kB / 1.016 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.115e-05/0.5925, allocations: 8 kB / 1.016 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.5925, allocations: 3.984 kB / 1.016 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001676/0.5942, allocations: 1.24 MB / 1.018 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.5942, allocations: 0 / 1.018 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.88e-05/0.5942, allocations: 7.984 kB / 1.018 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002866/0.5971, allocations: 1.023 MB / 1.019 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.739e-05/0.5972, allocations: 8 kB / 1.019 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01105/0.6082, allocations: 7.928 MB / 1.026 GB, free: 2.137 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.6082, allocations: 0 / 1.026 GB, free: 2.137 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003538/0.6118, allocations: 1.961 MB / 1.028 GB, free: 156 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000797/0.6126, allocations: 446.2 kB / 1.029 GB, free: 15.69 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002729/0.6129, allocations: 8 kB / 1.029 GB, free: 15.68 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006191/0.6135, allocations: 35.8 kB / 1.029 GB, free: 15.65 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.6136, allocations: 47.88 kB / 1.029 GB, free: 15.6 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.219e-05/0.6137, allocations: 8 kB / 1.029 GB, free: 15.59 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002825/0.6165, allocations: 2.055 MB / 1.031 GB, free: 13.53 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.31e-07/0.6165, allocations: 0 / 1.031 GB, free: 13.53 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001677/0.6182, allocations: 0.618 MB / 1.031 GB, free: 12.91 MB / 0.795 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.004012/0.6222, allocations: 2.575 MB / 1.034 GB, free: 10.31 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.004861/0.6271, allocations: 2.815 MB / 1.037 GB, free: 7.488 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.6271, allocations: 4 kB / 1.037 GB, free: 7.484 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002082/0.6292, allocations: 1.028 MB / 1.038 GB, free: 6.445 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002342/0.6316, allocations: 0.6853 MB / 1.038 GB, free: 5.777 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04891/0.6805, allocations: 28.58 MB / 1.066 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001687/0.6822, allocations: 1.912 MB / 1.068 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001096/0.6833, allocations: 375.4 kB / 1.068 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001004/0.6843, allocations: 0.7219 MB / 1.069 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of SimCode: time 8.81e-07/0.6843, allocations: 3.938 kB / 1.069 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8623/1.547, allocations: 62.43 MB / 1.13 GB, free: 7.043 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002945/1.547, allocations: 305.1 kB / 1.13 GB, free: 6.656 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.847/4.394, allocations: 0 / 1.13 GB, free: 6.656 MB / 0.8887 GB (rm -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.fmu > Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches