Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|irRadExc.conExt.1..T|irRadExc.conExtWin.1..T|irRadExc.conExtWinFra.1..T|irRadExc.conPar_a.1..T|irRadExc.conPar_b.1..T|irRadExc.conBou.1..T|irRadExc.conSurBou.1..T",fileNamePrefix="Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|irRadExc.conExt.1..T|irRadExc.conExtWin.1..T|irRadExc.conExtWinFra.1..T|irRadExc.conPar_a.1..T|irRadExc.conPar_b.1..T|irRadExc.conBou.1..T|irRadExc.conSurBou.1..T",fileNamePrefix="Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005013/0.005013, 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.001293/0.001294, allocations: 192.2 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.179/1.179, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.106/2.106, allocations: 437 MB / 0.7105 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00109/0.00109, allocations: 55.91 kB / 1.019 GB, free: 9.344 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6313/0.6324, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.007607/0.64, allocations: 7.226 MB / 1.174 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.006941/0.647, allocations: 5.544 MB / 1.179 GB, free: 7.012 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008741/0.6479, allocations: 51.75 kB / 1.179 GB, free: 6.961 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003829/0.6518, allocations: 1.69 MB / 1.181 GB, free: 5.266 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001331/0.6531, allocations: 0.6321 MB / 1.181 GB, free: 4.629 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009602/0.6541, allocations: 377.9 kB / 1.182 GB, free: 4.262 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002654/0.6568, allocations: 2.95 MB / 1.185 GB, free: 1.309 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006168/0.6574, allocations: 0.5488 MB / 1.185 GB, free: 0.7383 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001388/0.6588, allocations: 1.113 MB / 1.186 GB, free: 15.62 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001629/0.6604, allocations: 1.612 MB / 1.188 GB, free: 14 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.00033/0.6608, allocations: 196 kB / 1.188 GB, free: 13.81 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006559/0.6614, allocations: 327.8 kB / 1.188 GB, free: 13.49 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005595/0.662, allocations: 0.6972 MB / 1.189 GB, free: 12.79 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.00107/0.6631, allocations: 1.213 MB / 1.19 GB, free: 11.57 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003123/0.6662, allocations: 3.682 MB / 1.194 GB, free: 7.879 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.6662, allocations: 0 / 1.194 GB, free: 7.879 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.184e-06/0.6662, allocations: 0 / 1.194 GB, free: 7.879 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.333e-05/0.6663, allocations: 0 / 1.194 GB, free: 7.879 MB / 0.92 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.00621/0.6725, allocations: 3.545 MB / 1.197 GB, free: 4.262 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.6725, allocations: 12.92 kB / 1.197 GB, free: 4.25 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003513/0.6729, allocations: 255.3 kB / 1.198 GB, free: 4 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003145/0.676, allocations: 1.998 MB / 1.2 GB, free: 1.941 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.132e-05/0.6761, allocations: 65 kB / 1.2 GB, free: 1.879 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001853/0.6763, allocations: 88 kB / 1.2 GB, free: 1.793 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009695/0.6773, allocations: 0.7207 MB / 1.2 GB, free: 1.066 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.6773, allocations: 0 / 1.2 GB, free: 1.066 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.697e-05/0.6773, allocations: 16 kB / 1.2 GB, free: 1.051 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.6774, allocations: 12 kB / 1.2 GB, free: 1.039 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001266/0.6786, allocations: 0.9797 MB / 1.201 GB, free: 60 kB / 0.92 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.009226/0.6879, allocations: 4.504 MB / 1.206 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.689, allocations: 0.7924 MB / 1.207 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005505/0.6896, allocations: 0.4981 MB / 1.207 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.591e-05/0.6896, allocations: 4 kB / 1.207 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.6896, allocations: 42.5 kB / 1.207 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=44): time 1.493e-06/0.6896, allocations: 0 / 1.207 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of matching and sorting (n=44): time 0.008304/0.698, allocations: 3.475 MB / 1.21 GB, free: 6.547 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.698, allocations: 63.34 kB / 1.211 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003139/0.7011, allocations: 2.952 MB / 1.213 GB, free: 3.508 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001572/0.7013, allocations: 53.7 kB / 1.213 GB, free: 3.449 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007594/0.7021, allocations: 0.8557 MB / 1.214 GB, free: 2.586 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/0.7022, allocations: 170.6 kB / 1.214 GB, free: 2.418 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005235/0.7027, allocations: 331.5 kB / 1.215 GB, free: 2.086 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.7029, allocations: 365.9 kB / 1.215 GB, free: 1.723 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001627/0.7045, allocations: 1.374 MB / 1.216 GB, free: 356 kB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001948/0.7065, allocations: 1.624 MB / 1.218 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002261/0.7087, allocations: 1.918 MB / 1.22 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.7088, allocations: 3.938 kB / 1.22 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.006235/0.715, allocations: 4.099 MB / 1.224 GB, free: 8.668 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.715, allocations: 7.938 kB / 1.224 GB, free: 8.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.7151, allocations: 3.984 kB / 1.224 GB, free: 8.656 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002789/0.7178, allocations: 1.101 MB / 1.225 GB, free: 7.551 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/0.7189, allocations: 223.7 kB / 1.225 GB, free: 7.332 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01045/0.7294, allocations: 7.971 MB / 1.233 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001816/0.7312, allocations: 270.5 kB / 1.233 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001339/0.7314, allocations: 40 kB / 1.233 GB, free: 14.91 MB / 0.9669 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.0009914/0.7324, allocations: 0.8056 MB / 1.234 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002248/0.7326, allocations: 222.5 kB / 1.234 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003598/0.733, allocations: 258.7 kB / 1.235 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.733, allocations: 4 kB / 1.235 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.276e-05/0.733, allocations: 8 kB / 1.235 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.733, allocations: 4 kB / 1.235 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/0.7342, allocations: 1.224 MB / 1.236 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.7342, allocations: 0 / 1.236 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.34e-05/0.7343, allocations: 4 kB / 1.236 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002633/0.7369, allocations: 1.027 MB / 1.237 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.173e-05/0.737, allocations: 4 kB / 1.237 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01031/0.7473, allocations: 7.946 MB / 1.245 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.7473, allocations: 0 / 1.245 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003305/0.7506, allocations: 1.966 MB / 1.246 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008103/0.7514, allocations: 455.3 kB / 1.247 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001509/0.7516, allocations: 4 kB / 1.247 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005497/0.7521, allocations: 39.86 kB / 1.247 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.7523, allocations: 39.88 kB / 1.247 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.888e-05/0.7523, allocations: 12 kB / 1.247 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002394/0.7547, allocations: 2.04 MB / 1.249 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7547, allocations: 0 / 1.249 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001404/0.7561, allocations: 0.6052 MB / 1.25 GB, free: 13.99 MB / 0.9825 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.0003459/0.7565, allocations: 170.8 kB / 1.25 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.004264/0.7608, allocations: 2.822 MB / 1.253 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.7608, allocations: 3.938 kB / 1.253 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001996/0.7628, allocations: 1.051 MB / 1.254 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002071/0.7649, allocations: 0.6517 MB / 1.254 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004804/0.7697, allocations: 4.188 MB / 1.258 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001316/0.771, allocations: 1.915 MB / 1.26 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0008118/0.7718, allocations: 329.9 kB / 1.26 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002921/0.7721, allocations: 91.38 kB / 1.261 GB, free: 2.695 MB / 0.9825 GB Notification: Performance of SimCode: time 5.62e-07/0.7721, allocations: 4 kB / 1.261 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of Templates: time 0.05317/0.8253, allocations: 42.27 MB / 1.302 GB, free: 8.852 MB / 1.029 GB make -j1 -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.makefile (rm -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.sim & ./Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches