Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.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.001464/0.001464, allocations: 88.72 kB / 19.44 MB, free: 332 kB / 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.001641/0.001641, allocations: 157.7 kB / 22.75 MB, free: 1.66 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 1.496/1.496, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 3.348/3.348, allocations: 429.6 MB / 0.673 GB, free: 3.93 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|irRadGai.conExt.1..Q_flow|irRadGai.conExtWin.1..Q_flow|irRadGai.conExtWinFra.1..Q_flow|irRadGai.conPar_a.1..Q_flow|irRadGai.conPar_b.1..Q_flow|irRadGai.conBou.1..Q_flow|irRadGai.conSurBou.1..Q_flow|irRadGai.JOutConExtWin.1.",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|irRadGai.conExt.1..Q_flow|irRadGai.conExtWin.1..Q_flow|irRadGai.conExtWinFra.1..Q_flow|irRadGai.conPar_a.1..Q_flow|irRadGai.conPar_b.1..Q_flow|irRadGai.conBou.1..Q_flow|irRadGai.conSurBou.1..Q_flow|irRadGai.JOutConExtWin.1.",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.8777 GB, free: 6.434 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.493e-05/2.642e-05, allocations: 10.25 kB / 0.8777 GB, free: 6.422 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.01024/0.01027, allocations: 6.517 MB / 0.884 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.008676/0.01894, allocations: 4.739 MB / 0.8887 GB, free: 11.15 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001162/0.02011, allocations: 71.5 kB / 0.8887 GB, free: 11.08 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.004982/0.02509, allocations: 1.601 MB / 0.8903 GB, free: 9.473 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.002114/0.0272, allocations: 0.6434 MB / 0.8909 GB, free: 8.824 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009642/0.02817, allocations: 228.2 kB / 0.8912 GB, free: 8.602 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.003117/0.03128, allocations: 1.834 MB / 0.8929 GB, free: 6.758 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006276/0.03191, allocations: 235.9 kB / 0.8932 GB, free: 6.508 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001939/0.03385, allocations: 0.9933 MB / 0.8941 GB, free: 5.512 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001365/0.03522, allocations: 0.6817 MB / 0.8948 GB, free: 4.828 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0002921/0.03551, allocations: 84 kB / 0.8949 GB, free: 4.746 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007591/0.03627, allocations: 203.7 kB / 0.8951 GB, free: 4.547 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.000502/0.03677, allocations: 350.4 kB / 0.8954 GB, free: 4.203 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0008951/0.03766, allocations: 450.7 kB / 0.8958 GB, free: 3.762 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.003371/0.04104, allocations: 2.367 MB / 0.8982 GB, free: 1.387 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.04104, allocations: 4 kB / 0.8982 GB, free: 1.383 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.423e-06/0.04104, allocations: 0 / 0.8982 GB, free: 1.383 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.349e-05/0.0411, allocations: 3.984 kB / 0.8982 GB, free: 1.379 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.004565/0.04567, allocations: 2.232 MB / 0.9003 GB, free: 15.09 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.04571, allocations: 16.03 kB / 0.9004 GB, free: 15.08 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004428/0.04615, allocations: 235.6 kB / 0.9006 GB, free: 14.85 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003482/0.04963, allocations: 1.708 MB / 0.9022 GB, free: 13.07 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.688e-05/0.04967, allocations: 25.38 kB / 0.9023 GB, free: 13.05 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.669e-05/0.04975, allocations: 39.94 kB / 0.9023 GB, free: 13.01 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008987/0.05065, allocations: 484 kB / 0.9028 GB, free: 12.53 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.05066, allocations: 0 / 0.9028 GB, free: 12.53 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.116e-05/0.0507, allocations: 12 kB / 0.9028 GB, free: 12.52 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-05/0.05075, allocations: 24.98 kB / 0.9028 GB, free: 12.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007718/0.05153, allocations: 419.7 kB / 0.9032 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003535/0.05506, allocations: 1.691 MB / 0.9049 GB, free: 10.36 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/0.05621, allocations: 489.1 kB / 0.9053 GB, free: 9.867 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003476/0.05656, allocations: 197.8 kB / 0.9055 GB, free: 9.672 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.05658, allocations: 8.281 kB / 0.9055 GB, free: 9.664 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.155e-05/0.05662, allocations: 42.72 kB / 0.9056 GB, free: 9.613 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=34): time 1.743e-06/0.05662, allocations: 0 / 0.9056 GB, free: 9.613 MB / 0.8698 GB Notification: Performance of matching and sorting (n=34): time 0.001429/0.05805, allocations: 0.6548 MB / 0.9062 GB, free: 8.953 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.0581, allocations: 55.41 kB / 0.9063 GB, free: 8.887 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004336/0.06244, allocations: 2.462 MB / 0.9087 GB, free: 6.391 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.907e-05/0.06249, allocations: 33.7 kB / 0.9087 GB, free: 6.352 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009639/0.06345, allocations: 0.764 MB / 0.9094 GB, free: 5.582 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.06358, allocations: 115 kB / 0.9095 GB, free: 5.469 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.06371, allocations: 69.64 kB / 0.9096 GB, free: 5.395 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.00018/0.06389, allocations: 318 kB / 0.9099 GB, free: 5.078 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002452/0.06414, allocations: 135.9 kB / 0.91 GB, free: 4.945 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003257/0.06447, allocations: 200.6 kB / 0.9102 GB, free: 4.738 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005418/0.06501, allocations: 334.2 kB / 0.9106 GB, free: 4.41 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.06501, allocations: 0 / 0.9106 GB, free: 4.41 MB / 0.8698 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001401/0.06641, allocations: 0.5314 MB / 0.9111 GB, free: 3.871 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.06644, allocations: 15.95 kB / 0.9111 GB, free: 3.855 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.06645, allocations: 4 kB / 0.9111 GB, free: 3.852 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-05/0.06647, allocations: 0 / 0.9111 GB, free: 3.852 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004677/0.06694, allocations: 79.89 kB / 0.9112 GB, free: 3.773 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.06695, allocations: 0 / 0.9112 GB, free: 3.773 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004076/0.06736, allocations: 23.84 kB / 0.9112 GB, free: 3.75 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.24e-05/0.06738, allocations: 4 kB / 0.9112 GB, free: 3.746 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001097/0.06848, allocations: 0.6887 MB / 0.9119 GB, free: 3.047 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003573/0.06883, allocations: 202.7 kB / 0.9121 GB, free: 2.848 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003911/0.06922, allocations: 214.6 kB / 0.9123 GB, free: 2.637 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.06923, allocations: 4 kB / 0.9123 GB, free: 2.633 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.06923, allocations: 0 / 0.9123 GB, free: 2.633 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.06924, allocations: 3.984 kB / 0.9123 GB, free: 2.629 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002824/0.07207, allocations: 1.39 MB / 0.9136 GB, free: 1.188 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.876e-06/0.07207, allocations: 4 kB / 0.9136 GB, free: 1.184 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000503/0.07258, allocations: 67.91 kB / 0.9137 GB, free: 1.117 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.037e-05/0.07259, allocations: 4 kB / 0.9137 GB, free: 1.113 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.331e-05/0.07263, allocations: 11.98 kB / 0.9137 GB, free: 1.102 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.07263, allocations: 4.094 kB / 0.9137 GB, free: 1.098 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.07264, allocations: 3.938 kB / 0.9137 GB, free: 1.094 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009642/0.0736, allocations: 0.6571 MB / 0.9144 GB, free: 420 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000759/0.07436, allocations: 310.5 kB / 0.9147 GB, free: 108 kB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001728/0.07453, allocations: 4 kB / 0.9147 GB, free: 104 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004192/0.07495, allocations: 8 kB / 0.9147 GB, free: 96 kB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.28e-05/0.07501, allocations: 27.94 kB / 0.9147 GB, free: 68 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.251e-05/0.07504, allocations: 8 kB / 0.9147 GB, free: 60 kB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002984/0.07802, allocations: 1.763 MB / 0.9164 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8e-08/0.07802, allocations: 0 / 0.9164 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001142/0.07916, allocations: 239.7 kB / 0.9167 GB, free: 14.04 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005736/0.07974, allocations: 171.1 kB / 0.9168 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0006571/0.08039, allocations: 323.7 kB / 0.9171 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.0804, allocations: 0 / 0.9171 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002824/0.08068, allocations: 168 kB / 0.9173 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002797/0.08348, allocations: 0.5988 MB / 0.9179 GB, free: 12.81 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006397/0.08987, allocations: 3.397 MB / 0.9212 GB, free: 9.352 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001729/0.0916, allocations: 1.174 MB / 0.9223 GB, free: 8.137 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0008415/0.09244, allocations: 302.6 kB / 0.9226 GB, free: 7.836 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002318/0.09267, allocations: 80.5 kB / 0.9227 GB, free: 7.758 MB / 0.8855 GB Notification: Performance of SimCode: time 7.51e-07/0.09268, allocations: 0 / 0.9227 GB, free: 7.758 MB / 0.8855 GB Notification: Performance of Templates: time 0.04097/0.1336, allocations: 21.94 MB / 0.9441 GB, free: 2.285 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.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: 8.663564985035919]