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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008304/0.0008304, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008064/0.0008064, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.869/0.869, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.68/1.68, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 0.9997 GB, free: 13.42 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.299e-05/2.519e-05, allocations: 6.219 kB / 0.9998 GB, free: 13.41 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.005299/0.005324, allocations: 6.401 MB / 1.006 GB, free: 6.973 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.005978/0.0113, allocations: 5.071 MB / 1.011 GB, free: 1.883 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009025/0.0122, allocations: 71.44 kB / 1.011 GB, free: 1.812 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.002973/0.01518, allocations: 1.601 MB / 1.013 GB, free: 208 kB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.001073/0.01625, allocations: 0.6629 MB / 1.013 GB, free: 15.53 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.00079/0.01704, allocations: 395 kB / 1.014 GB, free: 15.14 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.002106/0.01915, allocations: 3.077 MB / 1.017 GB, free: 12.06 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000382/0.01953, allocations: 218.5 kB / 1.017 GB, free: 11.82 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001704/0.02123, allocations: 1.504 MB / 1.018 GB, free: 10.32 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001342/0.02257, allocations: 1.54 MB / 1.02 GB, free: 8.773 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0004648/0.02304, allocations: 200 kB / 1.02 GB, free: 8.578 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005368/0.02358, allocations: 315.8 kB / 1.02 GB, free: 8.27 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0004441/0.02402, allocations: 0.7244 MB / 1.021 GB, free: 7.543 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0007538/0.02477, allocations: 0.8067 MB / 1.022 GB, free: 6.734 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.002473/0.02725, allocations: 3.817 MB / 1.026 GB, free: 2.906 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.02725, allocations: 0 / 1.026 GB, free: 2.906 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.152e-06/0.02725, allocations: 0 / 1.026 GB, free: 2.906 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 8.146e-05/0.02733, allocations: 7.938 kB / 1.026 GB, free: 2.898 MB / 0.9792 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.004268/0.0316, allocations: 3.445 MB / 1.029 GB, free: 15.4 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.03164, allocations: 8.75 kB / 1.029 GB, free: 15.39 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.534e-05/0.03172, allocations: 94.69 kB / 1.029 GB, free: 15.29 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002739/0.03199, allocations: 255.3 kB / 1.029 GB, free: 15.04 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002076/0.03407, allocations: 1.933 MB / 1.031 GB, free: 13.06 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.463e-05/0.0341, allocations: 69.12 kB / 1.031 GB, free: 12.99 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.03422, allocations: 88 kB / 1.031 GB, free: 12.9 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006823/0.0349, allocations: 0.713 MB / 1.032 GB, free: 12.18 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.03491, allocations: 0 / 1.032 GB, free: 12.18 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.252e-05/0.03494, allocations: 20 kB / 1.032 GB, free: 12.16 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.03495, allocations: 12 kB / 1.032 GB, free: 12.15 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009156/0.03587, allocations: 0.9679 MB / 1.033 GB, free: 11.19 MB / 0.9948 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.005139/0.04101, allocations: 3.727 MB / 1.037 GB, free: 7.41 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008166/0.04183, allocations: 0.7452 MB / 1.037 GB, free: 6.652 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003943/0.04222, allocations: 472.5 kB / 1.038 GB, free: 6.188 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.04225, allocations: 7.938 kB / 1.038 GB, free: 6.18 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.04227, allocations: 38.56 kB / 1.038 GB, free: 6.133 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=44): time 2.384e-06/0.04227, allocations: 4 kB / 1.038 GB, free: 6.129 MB / 0.9948 GB Notification: Performance of matching and sorting (n=44): time 0.005295/0.04757, allocations: 3.374 MB / 1.041 GB, free: 2.742 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.0476, allocations: 59.41 kB / 1.041 GB, free: 2.672 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4083/0.4559, allocations: 2.949 MB / 1.044 GB, free: 79.75 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003901/0.4563, allocations: 51.8 kB / 1.044 GB, free: 79.71 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006978/0.457, allocations: 0.8562 MB / 1.045 GB, free: 79.41 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/0.4571, allocations: 169.7 kB / 1.045 GB, free: 79.39 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004171/0.4575, allocations: 327.8 kB / 1.045 GB, free: 79.27 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 5.385e-05/0.4576, allocations: 365.9 kB / 1.046 GB, free: 78.94 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001134/0.4587, allocations: 1.372 MB / 1.047 GB, free: 78.41 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00132/0.4601, allocations: 1.849 MB / 1.049 GB, free: 77.51 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001583/0.4616, allocations: 1.924 MB / 1.051 GB, free: 76.69 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.4616, allocations: 0 / 1.051 GB, free: 76.69 MB / 0.9948 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.004121/0.4658, allocations: 4.073 MB / 1.055 GB, free: 75.2 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.4658, allocations: 5.531 kB / 1.055 GB, free: 75.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.4658, allocations: 3.094 kB / 1.055 GB, free: 75.2 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00167/0.4675, allocations: 1.102 MB / 1.056 GB, free: 75.06 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006534/0.4681, allocations: 226.5 kB / 1.056 GB, free: 75.04 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006427/0.4745, allocations: 7.757 MB / 1.064 GB, free: 71.62 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.4759, allocations: 268.1 kB / 1.064 GB, free: 71.54 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001631/0.476, allocations: 42.09 kB / 1.064 GB, free: 71.53 MB / 0.9948 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.0008101/0.4768, allocations: 0.802 MB / 1.065 GB, free: 71.19 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002021/0.477, allocations: 223.1 kB / 1.065 GB, free: 71.06 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002459/0.4773, allocations: 253.2 kB / 1.065 GB, free: 70.94 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.4773, allocations: 2.812 kB / 1.065 GB, free: 70.94 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-05/0.4773, allocations: 7.438 kB / 1.065 GB, free: 70.94 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.4773, allocations: 6 kB / 1.065 GB, free: 70.94 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008694/0.4782, allocations: 1.046 MB / 1.066 GB, free: 70.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.4782, allocations: 0 / 1.066 GB, free: 70.5 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.226e-05/0.4782, allocations: 6.562 kB / 1.066 GB, free: 70.49 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001544/0.4798, allocations: 1.023 MB / 1.067 GB, free: 70.34 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/0.4798, allocations: 11.28 kB / 1.067 GB, free: 70.34 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007026/0.4868, allocations: 7.722 MB / 1.075 GB, free: 66.94 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4868, allocations: 0 / 1.075 GB, free: 66.94 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002322/0.4891, allocations: 1.941 MB / 1.077 GB, free: 66.26 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006315/0.4898, allocations: 384.3 kB / 1.077 GB, free: 66.07 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/0.4899, allocations: 9.359 kB / 1.077 GB, free: 66.07 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003297/0.4902, allocations: 30.62 kB / 1.077 GB, free: 66.06 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.4903, allocations: 40.92 kB / 1.077 GB, free: 66.05 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.4904, allocations: 11.25 kB / 1.077 GB, free: 66.05 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.002071/0.4924, allocations: 2.043 MB / 1.079 GB, free: 65.38 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.4924, allocations: 1.406 kB / 1.079 GB, free: 65.38 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001471/0.4939, allocations: 0.6137 MB / 1.08 GB, free: 65.33 MB / 0.9948 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.002644/0.4965, allocations: 2.553 MB / 1.082 GB, free: 64.11 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.003321/0.4999, allocations: 2.522 MB / 1.085 GB, free: 63.2 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.4999, allocations: 0 / 1.085 GB, free: 63.2 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001377/0.5012, allocations: 1.007 MB / 1.086 GB, free: 62.82 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001915/0.5032, allocations: 0.6636 MB / 1.086 GB, free: 62.63 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03542/0.5386, allocations: 25.27 MB / 1.111 GB, free: 53.32 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001433/0.54, allocations: 1.332 MB / 1.112 GB, free: 52.97 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001164/0.5412, allocations: 327.7 kB / 1.113 GB, free: 52.94 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007394/0.5419, allocations: 0.708 MB / 1.113 GB, free: 52.36 MB / 0.9948 GB Notification: Performance of SimCode: time 1.473e-06/0.5419, allocations: 0 / 1.113 GB, free: 52.36 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07035/0.6123, allocations: 67.33 MB / 1.179 GB, free: 2.84 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.238/8.851, allocations: 3.859 kB / 1.179 GB, free: 2.836 MB / 0.9948 GB " [Timeout remaining time 291] (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 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.fmu > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe 2>&1) [Timeout 840.0] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.787220207042992]