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.001309/0.001309, 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.001312/0.001312, allocations: 192.9 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.271/1.271, 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.583/2.583, allocations: 469.4 MB / 0.742 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 72.56 kB / 0.9083 GB, free: 34.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2402/0.2415, allocations: 159.1 MB / 1.064 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.008026/0.2495, allocations: 7.233 MB / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00734/0.2569, allocations: 5.539 MB / 1.076 GB, free: 1.629 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001024/0.2579, allocations: 39.81 kB / 1.076 GB, free: 1.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.004063/0.262, allocations: 1.687 MB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00158/0.2637, allocations: 0.6165 MB / 1.078 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.2648, allocations: 395.2 kB / 1.079 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.002897/0.2677, allocations: 2.922 MB / 1.082 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006958/0.2684, allocations: 0.541 MB / 1.082 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001449/0.2699, allocations: 1.074 MB / 1.083 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001914/0.2718, allocations: 1.628 MB / 1.085 GB, free: 8.684 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0004449/0.2723, allocations: 196 kB / 1.085 GB, free: 8.492 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006806/0.273, allocations: 323.8 kB / 1.085 GB, free: 8.176 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0005721/0.2735, allocations: 0.701 MB / 1.086 GB, free: 7.473 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001116/0.2747, allocations: 1.209 MB / 1.087 GB, free: 6.258 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002543/0.2772, allocations: 3.435 MB / 1.091 GB, free: 2.812 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2772, allocations: 4 kB / 1.091 GB, free: 2.809 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2772, allocations: 3.938 kB / 1.091 GB, free: 2.805 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.967e-05/0.2773, allocations: 0 / 1.091 GB, free: 2.805 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.006152/0.2834, allocations: 3.402 MB / 1.094 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.2835, allocations: 12.03 kB / 1.094 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.37e-05/0.2836, allocations: 82.72 kB / 1.094 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003555/0.2839, allocations: 245.9 kB / 1.094 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002587/0.2865, allocations: 1.886 MB / 1.096 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.598e-05/0.2866, allocations: 69 kB / 1.096 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001783/0.2868, allocations: 88 kB / 1.096 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009618/0.2877, allocations: 0.7169 MB / 1.097 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.2878, allocations: 3.984 kB / 1.097 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.281e-05/0.2878, allocations: 16 kB / 1.097 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.2878, allocations: 8 kB / 1.097 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001357/0.2892, allocations: 0.9836 MB / 1.098 GB, free: 11.16 MB / 0.8575 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.009865/0.2991, allocations: 4.523 MB / 1.102 GB, free: 6.492 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001213/0.3003, allocations: 0.7884 MB / 1.103 GB, free: 5.691 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005864/0.3009, allocations: 0.5004 MB / 1.104 GB, free: 5.188 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.317e-05/0.3009, allocations: 4.719 kB / 1.104 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.301, allocations: 42.5 kB / 1.104 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=44): time 2.605e-06/0.301, allocations: 0 / 1.104 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of matching and sorting (n=44): time 0.009463/0.3104, allocations: 3.457 MB / 1.107 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.3105, allocations: 67.3 kB / 1.107 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004552/0.3151, allocations: 2.972 MB / 1.11 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002793/0.3154, allocations: 49.7 kB / 1.11 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001094/0.3165, allocations: 0.8668 MB / 1.111 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001776/0.3166, allocations: 153.8 kB / 1.111 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008518/0.3175, allocations: 335.5 kB / 1.111 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.3176, allocations: 361.9 kB / 1.112 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001829/0.3195, allocations: 1.37 MB / 1.113 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002096/0.3216, allocations: 1.624 MB / 1.115 GB, free: 9.797 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002482/0.3241, allocations: 1.922 MB / 1.116 GB, free: 7.867 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.3241, allocations: 4 kB / 1.116 GB, free: 7.863 MB / 0.8731 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.006761/0.3309, allocations: 4.09 MB / 1.12 GB, free: 3.758 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.3309, allocations: 8.094 kB / 1.12 GB, free: 3.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.3309, allocations: 3.938 kB / 1.12 GB, free: 3.746 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003069/0.334, allocations: 1.109 MB / 1.122 GB, free: 2.633 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/0.3352, allocations: 227.7 kB / 1.122 GB, free: 2.41 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01112/0.3463, allocations: 7.947 MB / 1.13 GB, free: 10.31 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001852/0.3482, allocations: 269.9 kB / 1.13 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001504/0.3483, allocations: 40 kB / 1.13 GB, free: 10.01 MB / 0.8887 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.001047/0.3494, allocations: 0.8111 MB / 1.131 GB, free: 9.188 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003021/0.3497, allocations: 213.2 kB / 1.131 GB, free: 8.977 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004486/0.3501, allocations: 250.7 kB / 1.131 GB, free: 8.727 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.3501, allocations: 4 kB / 1.131 GB, free: 8.723 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-05/0.3502, allocations: 8 kB / 1.131 GB, free: 8.715 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.3502, allocations: 3.984 kB / 1.131 GB, free: 8.711 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/0.3516, allocations: 1.24 MB / 1.132 GB, free: 7.422 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.3516, allocations: 0 / 1.132 GB, free: 7.422 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.648e-05/0.3516, allocations: 4 kB / 1.132 GB, free: 7.418 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002856/0.3545, allocations: 1.031 MB / 1.133 GB, free: 6.383 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.184e-05/0.3545, allocations: 4 kB / 1.133 GB, free: 6.379 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01093/0.3655, allocations: 7.937 MB / 1.141 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3655, allocations: 4 kB / 1.141 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003513/0.369, allocations: 1.96 MB / 1.143 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006464/0.3697, allocations: 450 kB / 1.143 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002378/0.3699, allocations: 8 kB / 1.143 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006597/0.3706, allocations: 23.97 kB / 1.143 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.3707, allocations: 39.94 kB / 1.143 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.849e-05/0.3707, allocations: 8 kB / 1.143 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002664/0.3734, allocations: 2.059 MB / 1.145 GB, free: 9.703 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3734, allocations: 3.938 kB / 1.145 GB, free: 9.699 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.00139/0.3748, allocations: 0.6141 MB / 1.146 GB, free: 9.086 MB / 0.9044 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.004047/0.3789, allocations: 2.565 MB / 1.149 GB, free: 6.496 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.004785/0.3837, allocations: 2.819 MB / 1.151 GB, free: 3.664 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3837, allocations: 0 / 1.151 GB, free: 3.664 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.002186/0.3859, allocations: 1.043 MB / 1.152 GB, free: 2.602 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002334/0.3882, allocations: 0.6685 MB / 1.153 GB, free: 1.945 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03531/0.4235, allocations: 27.88 MB / 1.18 GB, free: 4.684 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001327/0.4249, allocations: 1.911 MB / 1.182 GB, free: 2.734 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0007813/0.4257, allocations: 325.6 kB / 1.182 GB, free: 2.41 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008605/0.4266, allocations: 0.7063 MB / 1.183 GB, free: 1.703 MB / 0.9356 GB Notification: Performance of SimCode: time 9.42e-07/0.4266, allocations: 0 / 1.183 GB, free: 1.703 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08566/0.5122, allocations: 61.62 MB / 1.243 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.8/10.31, allocations: 12.33 kB / 1.243 GB, free: 4.715 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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