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.004845/0.004845, allocations: 100.6 kB / 15.73 MB, free: 6.035 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.001103/0.001103, allocations: 192 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.28/1.28, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.245/2.245, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 63.56 kB / 0.9505 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2538, allocations: 140.4 MB / 1.088 GB, free: 1.902 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.007786/0.2616, allocations: 7.244 MB / 1.095 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.007583/0.2692, allocations: 5.537 MB / 1.1 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001324/0.2706, allocations: 47.69 kB / 1.1 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004613/0.2752, allocations: 1.691 MB / 1.102 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001915/0.2772, allocations: 0.6088 MB / 1.102 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001302/0.2785, allocations: 393.2 kB / 1.103 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003359/0.2819, allocations: 2.94 MB / 1.106 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008211/0.2827, allocations: 0.5411 MB / 1.106 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001688/0.2844, allocations: 1.078 MB / 1.107 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002103/0.2865, allocations: 1.612 MB / 1.109 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0005847/0.2871, allocations: 196 kB / 1.109 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009045/0.288, allocations: 327.8 kB / 1.109 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000838/0.2889, allocations: 0.7048 MB / 1.11 GB, free: 10.9 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001735/0.2906, allocations: 1.201 MB / 1.111 GB, free: 9.691 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003685/0.2943, allocations: 3.676 MB / 1.115 GB, free: 6.004 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2943, allocations: 0 / 1.115 GB, free: 6.004 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2943, allocations: 0 / 1.115 GB, free: 6.004 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.807e-05/0.2944, allocations: 0 / 1.115 GB, free: 6.004 MB / 0.8731 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.007806/0.3022, allocations: 3.464 MB / 1.118 GB, free: 2.469 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.3023, allocations: 8.031 kB / 1.118 GB, free: 2.461 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001443/0.3024, allocations: 94.7 kB / 1.118 GB, free: 2.359 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005256/0.303, allocations: 241.9 kB / 1.118 GB, free: 2.121 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003776/0.3068, allocations: 1.987 MB / 1.12 GB, free: 72 kB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.758e-05/0.3068, allocations: 65 kB / 1.12 GB, free: 8 kB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002666/0.3071, allocations: 88.05 kB / 1.12 GB, free: 15.92 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.3081, allocations: 0.7168 MB / 1.121 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.3081, allocations: 3.984 kB / 1.121 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.022e-05/0.3082, allocations: 16 kB / 1.121 GB, free: 15.18 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.3082, allocations: 12 kB / 1.121 GB, free: 15.17 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/0.3096, allocations: 0.9758 MB / 1.122 GB, free: 14.19 MB / 0.8887 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.01055/0.3201, allocations: 4.491 MB / 1.127 GB, free: 9.555 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001209/0.3214, allocations: 0.7853 MB / 1.127 GB, free: 8.758 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005953/0.322, allocations: 0.4934 MB / 1.128 GB, free: 8.262 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.624e-05/0.322, allocations: 7.953 kB / 1.128 GB, free: 8.254 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.322, allocations: 46.44 kB / 1.128 GB, free: 8.199 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=44): time 2.244e-06/0.3221, allocations: 0 / 1.128 GB, free: 8.199 MB / 0.8887 GB Notification: Performance of matching and sorting (n=44): time 0.009545/0.3316, allocations: 3.466 MB / 1.131 GB, free: 4.699 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.3317, allocations: 63.34 kB / 1.131 GB, free: 4.625 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004382/0.3361, allocations: 2.948 MB / 1.134 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0003008/0.3364, allocations: 49.7 kB / 1.134 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001003/0.3374, allocations: 0.8668 MB / 1.135 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001712/0.3376, allocations: 157.8 kB / 1.135 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007033/0.3383, allocations: 331.5 kB / 1.136 GB, free: 256 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.3385, allocations: 365.9 kB / 1.136 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001802/0.3403, allocations: 1.37 MB / 1.137 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002177/0.3425, allocations: 1.624 MB / 1.139 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002539/0.345, allocations: 1.918 MB / 1.141 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.345, allocations: 0 / 1.141 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.00701/0.3521, allocations: 4.086 MB / 1.145 GB, free: 6.852 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.3521, allocations: 13.81 kB / 1.145 GB, free: 6.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.3521, allocations: 4 kB / 1.145 GB, free: 6.836 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00311/0.3552, allocations: 1.105 MB / 1.146 GB, free: 5.727 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001274/0.3565, allocations: 223.6 kB / 1.146 GB, free: 5.508 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01184/0.3684, allocations: 7.96 MB / 1.154 GB, free: 13.39 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002093/0.3705, allocations: 254.1 kB / 1.154 GB, free: 13.14 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003063/0.3708, allocations: 43.98 kB / 1.154 GB, free: 13.09 MB / 0.92 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.001331/0.3722, allocations: 0.8035 MB / 1.155 GB, free: 12.28 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004273/0.3726, allocations: 213.1 kB / 1.155 GB, free: 12.07 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006157/0.3732, allocations: 254.7 kB / 1.155 GB, free: 11.82 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.3733, allocations: 8.094 kB / 1.155 GB, free: 11.81 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.508e-05/0.3733, allocations: 11.92 kB / 1.155 GB, free: 11.8 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.3733, allocations: 8 kB / 1.155 GB, free: 11.79 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001871/0.3752, allocations: 1.224 MB / 1.157 GB, free: 10.52 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.3752, allocations: 4 kB / 1.157 GB, free: 10.52 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.442e-05/0.3753, allocations: 0 / 1.157 GB, free: 10.52 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00294/0.3782, allocations: 1.027 MB / 1.158 GB, free: 9.484 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.649e-05/0.3783, allocations: 8 kB / 1.158 GB, free: 9.477 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01174/0.39, allocations: 7.916 MB / 1.165 GB, free: 1.41 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.39, allocations: 0 / 1.165 GB, free: 1.41 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003854/0.3939, allocations: 1.964 MB / 1.167 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00117/0.3951, allocations: 438.2 kB / 1.168 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000452/0.3956, allocations: 7.938 kB / 1.168 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008528/0.3964, allocations: 39.95 kB / 1.168 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001745/0.3966, allocations: 35.94 kB / 1.168 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-05/0.3967, allocations: 12 kB / 1.168 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00354/0.4002, allocations: 2.036 MB / 1.17 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7.32e-07/0.4002, allocations: 0 / 1.17 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00193/0.4021, allocations: 0.6131 MB / 1.17 GB, free: 12.22 MB / 0.9356 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.004354/0.4065, allocations: 2.565 MB / 1.173 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.005076/0.4116, allocations: 2.815 MB / 1.176 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.4116, allocations: 0 / 1.176 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.002254/0.4139, allocations: 1.04 MB / 1.177 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002769/0.4167, allocations: 0.6627 MB / 1.177 GB, free: 5.102 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03944/0.4561, allocations: 25.22 MB / 1.202 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001911/0.4581, allocations: 1.911 MB / 1.204 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001066/0.4592, allocations: 325.9 kB / 1.204 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001094/0.4603, allocations: 0.7141 MB / 1.205 GB, free: 8.68 MB / 0.9669 GB Notification: Performance of SimCode: time 1.012e-06/0.4603, allocations: 0 / 1.205 GB, free: 8.68 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.08/1.54, allocations: 62.16 MB / 1.265 GB, free: 159.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.96/14.5, allocations: 15.03 kB / 1.265 GB, free: 159.2 MB / 1.014 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