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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.004579/0.004579, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001102/0.001102, allocations: 192.6 kB / 16.67 MB, free: 5.969 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.207/1.207, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.371/2.371, allocations: 469.4 MB / 0.7422 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 67.89 kB / 1.064 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6885/0.6897, allocations: 159.1 MB / 1.22 GB, free: 2.266 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.007555/0.6973, allocations: 7.237 MB / 1.227 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.007417/0.7048, allocations: 5.533 MB / 1.232 GB, free: 5.438 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009475/0.7058, allocations: 55.69 kB / 1.232 GB, free: 5.383 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.00381/0.7096, allocations: 1.692 MB / 1.234 GB, free: 3.684 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001391/0.711, allocations: 0.6321 MB / 1.235 GB, free: 3.047 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009603/0.712, allocations: 382.6 kB / 1.235 GB, free: 2.676 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002723/0.7147, allocations: 2.95 MB / 1.238 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006391/0.7153, allocations: 0.5449 MB / 1.238 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001381/0.7167, allocations: 1.105 MB / 1.239 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001705/0.7185, allocations: 1.616 MB / 1.241 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003367/0.7188, allocations: 196 kB / 1.241 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005881/0.7194, allocations: 323.8 kB / 1.242 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005999/0.72, allocations: 0.7011 MB / 1.242 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001178/0.7212, allocations: 1.209 MB / 1.243 GB, free: 10 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003308/0.7245, allocations: 3.69 MB / 1.247 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.7245, allocations: 0 / 1.247 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7245, allocations: 0 / 1.247 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.255e-05/0.7246, allocations: 0 / 1.247 GB, free: 6.297 MB / 0.9669 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.006664/0.7313, allocations: 3.533 MB / 1.25 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.7313, allocations: 12.62 kB / 1.25 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.777e-05/0.7314, allocations: 86.72 kB / 1.251 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003812/0.7318, allocations: 255.3 kB / 1.251 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003325/0.7351, allocations: 2.009 MB / 1.253 GB, free: 276 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.967e-05/0.7352, allocations: 64.94 kB / 1.253 GB, free: 208 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00021/0.7354, allocations: 91.98 kB / 1.253 GB, free: 116 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.7364, allocations: 0.713 MB / 1.254 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.7365, allocations: 0 / 1.254 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.051e-05/0.7365, allocations: 20 kB / 1.254 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.7365, allocations: 12 kB / 1.254 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001354/0.7379, allocations: 0.9758 MB / 1.255 GB, free: 14.39 MB / 0.9825 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.01007/0.748, allocations: 4.5 MB / 1.259 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/0.7492, allocations: 0.7809 MB / 1.26 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006023/0.7498, allocations: 0.5051 MB / 1.26 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.083e-05/0.7499, allocations: 11.89 kB / 1.26 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.7499, allocations: 38.5 kB / 1.26 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=44): time 2.324e-06/0.7499, allocations: 0 / 1.26 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of matching and sorting (n=44): time 0.009105/0.759, allocations: 3.49 MB / 1.264 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.7591, allocations: 63.34 kB / 1.264 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003493/0.7626, allocations: 2.945 MB / 1.267 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0002183/0.7628, allocations: 53.7 kB / 1.267 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008533/0.7637, allocations: 0.8635 MB / 1.268 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001526/0.7638, allocations: 162.6 kB / 1.268 GB, free: 0.7422 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005521/0.7644, allocations: 335.5 kB / 1.268 GB, free: 416 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.7645, allocations: 365.9 kB / 1.268 GB, free: 44 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001789/0.7663, allocations: 1.374 MB / 1.27 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002088/0.7684, allocations: 1.62 MB / 1.271 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002482/0.7709, allocations: 1.93 MB / 1.273 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.7709, allocations: 0 / 1.273 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.006772/0.7777, allocations: 4.095 MB / 1.277 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.7777, allocations: 8 kB / 1.277 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.485e-06/0.7778, allocations: 0 / 1.277 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003024/0.7808, allocations: 1.105 MB / 1.278 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/0.7819, allocations: 227.7 kB / 1.278 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01159/0.7935, allocations: 7.957 MB / 1.286 GB, free: 13.54 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001919/0.7955, allocations: 266.5 kB / 1.287 GB, free: 13.28 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002196/0.7957, allocations: 48.09 kB / 1.287 GB, free: 13.23 MB / 1.014 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.001213/0.7969, allocations: 0.8056 MB / 1.287 GB, free: 12.42 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003956/0.7973, allocations: 226.5 kB / 1.288 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005311/0.7979, allocations: 250.7 kB / 1.288 GB, free: 11.95 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.7979, allocations: 4 kB / 1.288 GB, free: 11.94 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.427e-05/0.7979, allocations: 8 kB / 1.288 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.7979, allocations: 3.984 kB / 1.288 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001742/0.7997, allocations: 1.228 MB / 1.289 GB, free: 10.66 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.7997, allocations: 0 / 1.289 GB, free: 10.66 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5e-05/0.7997, allocations: 8 kB / 1.289 GB, free: 10.65 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002858/0.8026, allocations: 1.023 MB / 1.29 GB, free: 9.621 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.424e-05/0.8027, allocations: 4 kB / 1.29 GB, free: 9.617 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01133/0.814, allocations: 7.946 MB / 1.298 GB, free: 1.531 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.814, allocations: 4 kB / 1.298 GB, free: 1.527 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003644/0.8177, allocations: 1.981 MB / 1.3 GB, free: 15.52 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009581/0.8186, allocations: 447.4 kB / 1.3 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000341/0.819, allocations: 12 kB / 1.3 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007404/0.8197, allocations: 35.84 kB / 1.3 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.8199, allocations: 35.95 kB / 1.3 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-05/0.8199, allocations: 8 kB / 1.3 GB, free: 14.97 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.00313/0.823, allocations: 2.04 MB / 1.302 GB, free: 12.93 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8231, allocations: 0 / 1.302 GB, free: 12.93 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001645/0.8247, allocations: 0.6169 MB / 1.303 GB, free: 12.31 MB / 1.029 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.004173/0.8289, allocations: 2.575 MB / 1.305 GB, free: 9.711 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.005172/0.8341, allocations: 2.819 MB / 1.308 GB, free: 6.875 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.8341, allocations: 0 / 1.308 GB, free: 6.875 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002203/0.8363, allocations: 1.039 MB / 1.309 GB, free: 5.82 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002688/0.839, allocations: 0.6713 MB / 1.31 GB, free: 5.164 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03846/0.8775, allocations: 25.27 MB / 1.334 GB, free: 11.67 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001854/0.8794, allocations: 1.926 MB / 1.336 GB, free: 9.711 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001179/0.8806, allocations: 329.9 kB / 1.337 GB, free: 9.383 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001163/0.8817, allocations: 0.7063 MB / 1.337 GB, free: 8.676 MB / 1.061 GB Notification: Performance of SimCode: time 1.152e-06/0.8818, allocations: 0 / 1.337 GB, free: 8.676 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09841/0.9802, allocations: 62.18 MB / 1.398 GB, free: 11.16 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.46/13.44, allocations: 14.8 kB / 1.398 GB, free: 11.16 MB / 1.123 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