Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange,fileNamePrefix="Buildings_latest_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.00187/0.00187, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002148/0.002148, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.25/1.25, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.648/2.648, allocations: 461.9 MB / 0.7346 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 75.41 kB / 0.8992 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2658, allocations: 157.4 MB / 1.053 GB, free: 8.223 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.008029/0.2739, allocations: 7.243 MB / 1.06 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.006853/0.2808, allocations: 5.548 MB / 1.065 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007348/0.2815, allocations: 35.81 kB / 1.065 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.003481/0.285, allocations: 1.687 MB / 1.067 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001115/0.2862, allocations: 0.6165 MB / 1.068 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008995/0.2871, allocations: 387.3 kB / 1.068 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002364/0.2895, allocations: 2.933 MB / 1.071 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005892/0.2901, allocations: 0.5332 MB / 1.071 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001026/0.2911, allocations: 1.074 MB / 1.072 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001556/0.2927, allocations: 1.624 MB / 1.074 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0003253/0.293, allocations: 199.9 kB / 1.074 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006145/0.2936, allocations: 323.8 kB / 1.075 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0005844/0.2942, allocations: 0.6972 MB / 1.075 GB, free: 1.234 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001046/0.2953, allocations: 1.213 MB / 1.076 GB, free: 16 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.002671/0.298, allocations: 3.439 MB / 1.08 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.298, allocations: 0 / 1.08 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.392e-06/0.298, allocations: 0 / 1.08 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.774e-05/0.298, allocations: 0 / 1.08 GB, free: 12.57 MB / 0.8419 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.006158/0.3042, allocations: 3.401 MB / 1.083 GB, free: 9.094 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.3042, allocations: 12.62 kB / 1.083 GB, free: 9.082 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.582e-05/0.3043, allocations: 82.72 kB / 1.083 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003747/0.3047, allocations: 245.9 kB / 1.083 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002574/0.3073, allocations: 1.894 MB / 1.085 GB, free: 6.793 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.324e-05/0.3074, allocations: 61 kB / 1.085 GB, free: 6.734 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001848/0.3075, allocations: 91.98 kB / 1.085 GB, free: 6.645 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009597/0.3085, allocations: 0.7169 MB / 1.086 GB, free: 5.922 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.3085, allocations: 0 / 1.086 GB, free: 5.922 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.963e-05/0.3086, allocations: 16 kB / 1.086 GB, free: 5.906 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.3086, allocations: 12 kB / 1.086 GB, free: 5.895 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/0.3099, allocations: 0.9797 MB / 1.087 GB, free: 4.914 MB / 0.8419 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.009409/0.3193, allocations: 4.523 MB / 1.092 GB, free: 252 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001202/0.3206, allocations: 0.7829 MB / 1.092 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005814/0.3211, allocations: 0.5026 MB / 1.093 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.146e-05/0.3212, allocations: 8.719 kB / 1.093 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.3212, allocations: 38.5 kB / 1.093 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=44): time 1.653e-06/0.3212, allocations: 0 / 1.093 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of matching and sorting (n=44): time 0.008895/0.3301, allocations: 3.469 MB / 1.096 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.3302, allocations: 71.3 kB / 1.096 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003236/0.3334, allocations: 2.968 MB / 1.099 GB, free: 8.328 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001488/0.3336, allocations: 53.7 kB / 1.099 GB, free: 8.27 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008055/0.3344, allocations: 0.859 MB / 1.1 GB, free: 7.402 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.000151/0.3346, allocations: 161.8 kB / 1.1 GB, free: 7.242 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005361/0.3351, allocations: 331.5 kB / 1.101 GB, free: 6.914 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.3352, allocations: 361.9 kB / 1.101 GB, free: 6.555 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001725/0.337, allocations: 1.374 MB / 1.102 GB, free: 5.18 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001992/0.339, allocations: 1.632 MB / 1.104 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002415/0.3414, allocations: 1.918 MB / 1.106 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.3414, allocations: 0 / 1.106 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.006455/0.3479, allocations: 4.094 MB / 1.11 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.3479, allocations: 4 kB / 1.11 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.3479, allocations: 0 / 1.11 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00298/0.3509, allocations: 1.105 MB / 1.111 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/0.352, allocations: 235.6 kB / 1.111 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01081/0.3628, allocations: 7.947 MB / 1.119 GB, free: 4.062 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002023/0.3649, allocations: 262 kB / 1.119 GB, free: 3.805 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/0.365, allocations: 40 kB / 1.119 GB, free: 3.766 MB / 0.8731 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.00118/0.3662, allocations: 0.811 MB / 1.12 GB, free: 2.945 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002399/0.3664, allocations: 213.1 kB / 1.12 GB, free: 2.734 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003461/0.3668, allocations: 250.7 kB / 1.12 GB, free: 2.484 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.3668, allocations: 4 kB / 1.12 GB, free: 2.48 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.25e-05/0.3668, allocations: 8 kB / 1.12 GB, free: 2.473 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.3668, allocations: 3.984 kB / 1.12 GB, free: 2.469 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001279/0.3681, allocations: 1.232 MB / 1.121 GB, free: 1.188 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.3681, allocations: 7.984 kB / 1.122 GB, free: 1.18 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.274e-05/0.3682, allocations: 4 kB / 1.122 GB, free: 1.176 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00273/0.3709, allocations: 1.035 MB / 1.123 GB, free: 140 kB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.216e-05/0.371, allocations: 8 kB / 1.123 GB, free: 132 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01072/0.3817, allocations: 7.924 MB / 1.13 GB, free: 8.059 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.3817, allocations: 4 kB / 1.13 GB, free: 8.055 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003515/0.3852, allocations: 1.954 MB / 1.132 GB, free: 6.078 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006313/0.3859, allocations: 457.9 kB / 1.133 GB, free: 5.609 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001802/0.3861, allocations: 4 kB / 1.133 GB, free: 5.605 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005813/0.3866, allocations: 23.97 kB / 1.133 GB, free: 5.582 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/0.3868, allocations: 39.94 kB / 1.133 GB, free: 5.543 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.832e-05/0.3868, allocations: 8 kB / 1.133 GB, free: 5.535 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.002531/0.3893, allocations: 2.059 MB / 1.135 GB, free: 3.469 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3894, allocations: 0 / 1.135 GB, free: 3.469 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001417/0.3908, allocations: 0.6131 MB / 1.135 GB, free: 2.855 MB / 0.8887 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.003894/0.3947, allocations: 2.576 MB / 1.138 GB, free: 260 kB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.004571/0.3993, allocations: 2.819 MB / 1.141 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3993, allocations: 0 / 1.141 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.002105/0.4014, allocations: 1.039 MB / 1.142 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002158/0.4036, allocations: 0.6645 MB / 1.142 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03486/0.4384, allocations: 27.89 MB / 1.169 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001403/0.4399, allocations: 1.911 MB / 1.171 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0008797/0.4408, allocations: 321.6 kB / 1.172 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008395/0.4416, allocations: 0.7063 MB / 1.172 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of SimCode: time 6.91e-07/0.4416, allocations: 0 / 1.172 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09656/0.5382, allocations: 61.62 MB / 1.233 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.581/10.12, allocations: 13.56 kB / 1.233 GB, free: 14.48 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.fmu > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches