Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001028/0.001028, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001259/0.001259, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 223.3 MB / 240 MB, free: 5.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.658/2.658, allocations: 390.9 MB / 0.666 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000336/0.0003361, allocations: 8 kB / 0.8154 GB, free: 13.63 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7118/0.7122, allocations: 142.4 MB / 0.9544 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.005399/0.7176, allocations: 6.346 MB / 0.9606 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007307/0.725, allocations: 5.091 MB / 0.9656 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001706/0.7267, allocations: 33.31 kB / 0.9656 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004016/0.7308, allocations: 1.377 MB / 0.967 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001547/0.7323, allocations: 0.5403 MB / 0.9675 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009679/0.7333, allocations: 306.3 kB / 0.9678 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003091/0.7364, allocations: 2.636 MB / 0.9704 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008244/0.7372, allocations: 0.4896 MB / 0.9709 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001858/0.7391, allocations: 0.9739 MB / 0.9718 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002078/0.7412, allocations: 1.545 MB / 0.9733 GB, free: 9.914 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003949/0.7416, allocations: 119.8 kB / 0.9734 GB, free: 9.914 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007355/0.7424, allocations: 229.2 kB / 0.9736 GB, free: 9.859 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006679/0.7431, allocations: 0.6059 MB / 0.9742 GB, free: 9.453 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005814/0.7436, allocations: 444.5 kB / 0.9747 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002524/0.7462, allocations: 2.562 MB / 0.9772 GB, free: 7.551 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.7462, allocations: 1.375 kB / 0.9772 GB, free: 7.551 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.344e-06/0.7462, allocations: 0 / 0.9772 GB, free: 7.551 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.584e-05/0.7463, allocations: 0 / 0.9772 GB, free: 7.551 MB / 0.7325 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.007052/0.7533, allocations: 3.554 MB / 0.9806 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.7534, allocations: 8.031 kB / 0.9806 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00051/0.7539, allocations: 245 kB / 0.9809 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003052/0.7569, allocations: 1.778 MB / 0.9826 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.429e-05/0.757, allocations: 65 kB / 0.9827 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002055/0.7572, allocations: 88 kB / 0.9828 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/0.7584, allocations: 0.7207 MB / 0.9835 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.7585, allocations: 0 / 0.9835 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.817e-05/0.7585, allocations: 24 kB / 0.9835 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.7585, allocations: 8 kB / 0.9835 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001465/0.76, allocations: 0.9758 MB / 0.9844 GB, free: 0.5352 MB / 0.7325 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.01112/0.7711, allocations: 5.096 MB / 0.9894 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001378/0.7725, allocations: 0.7813 MB / 0.9902 GB, free: 10.51 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006679/0.7732, allocations: 0.4927 MB / 0.9907 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 4.266e-05/0.7733, allocations: 8.719 kB / 0.9907 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.7733, allocations: 38.56 kB / 0.9907 GB, free: 9.961 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=44): time 2.785e-06/0.7733, allocations: 0 / 0.9907 GB, free: 9.961 MB / 0.7481 GB Notification: Performance of matching and sorting (n=44): time 0.01007/0.7834, allocations: 3.559 MB / 0.9942 GB, free: 6.367 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.7835, allocations: 63.36 kB / 0.9942 GB, free: 6.293 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004509/0.788, allocations: 2.948 MB / 0.9971 GB, free: 3.332 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.000586/0.7886, allocations: 53.7 kB / 0.9972 GB, free: 3.273 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009822/0.7896, allocations: 0.8592 MB / 0.998 GB, free: 2.406 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002044/0.7898, allocations: 161.7 kB / 0.9982 GB, free: 2.246 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.7899, allocations: 24 kB / 0.9982 GB, free: 2.223 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.7901, allocations: 369.9 kB / 0.9985 GB, free: 1.855 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00205/0.7921, allocations: 1.366 MB / 0.9999 GB, free: 500 kB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002343/0.7945, allocations: 1.616 MB / 1.001 GB, free: 14.86 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002106/0.7966, allocations: 1.459 MB / 1.003 GB, free: 13.4 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.7966, allocations: 4 kB / 1.003 GB, free: 13.39 MB / 0.7637 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.007167/0.8038, allocations: 4.07 MB / 1.007 GB, free: 9.309 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.8038, allocations: 9.344 kB / 1.007 GB, free: 9.301 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.8039, allocations: 0 / 1.007 GB, free: 9.301 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002947/0.8068, allocations: 1.112 MB / 1.008 GB, free: 8.184 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/0.8081, allocations: 223.7 kB / 1.008 GB, free: 7.965 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01113/0.8192, allocations: 7.346 MB / 1.015 GB, free: 492 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002188/0.8214, allocations: 262.1 kB / 1.016 GB, free: 228 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002313/0.8217, allocations: 43.98 kB / 1.016 GB, free: 184 kB / 0.7637 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(11,46.3%) 31} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001441/0.8231, allocations: 0.8072 MB / 1.016 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003314/0.8235, allocations: 213.1 kB / 1.017 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004913/0.824, allocations: 254.7 kB / 1.017 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.824, allocations: 12 kB / 1.017 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.199e-05/0.824, allocations: 4 kB / 1.017 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.824, allocations: 4 kB / 1.017 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001538/0.8256, allocations: 1.232 MB / 1.018 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.8256, allocations: 0 / 1.018 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.295e-05/0.8256, allocations: 11.98 kB / 1.018 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002725/0.8284, allocations: 1.019 MB / 1.019 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.941e-05/0.8284, allocations: 12 kB / 1.019 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01094/0.8394, allocations: 7.325 MB / 1.026 GB, free: 5.082 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.8394, allocations: 0 / 1.026 GB, free: 5.082 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00364/0.8431, allocations: 1.947 MB / 1.028 GB, free: 3.113 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009045/0.844, allocations: 450 kB / 1.029 GB, free: 2.652 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001995/0.8442, allocations: 7.953 kB / 1.029 GB, free: 2.645 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005514/0.8447, allocations: 31.91 kB / 1.029 GB, free: 2.613 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.8449, allocations: 43.94 kB / 1.029 GB, free: 2.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.868e-05/0.8449, allocations: 4 kB / 1.029 GB, free: 2.566 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.00329/0.8482, allocations: 2.04 MB / 1.031 GB, free: 0.5195 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.9e-07/0.8482, allocations: 4 kB / 1.031 GB, free: 0.5156 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002079/0.8503, allocations: 0.6131 MB / 1.031 GB, free: 15.9 MB / 0.795 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(13,43.8%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003847/0.8507, allocations: 175.1 kB / 1.031 GB, free: 15.73 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.005219/0.8559, allocations: 2.831 MB / 1.034 GB, free: 12.88 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.8559, allocations: 4.062 kB / 1.034 GB, free: 12.88 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002031/0.858, allocations: 1.056 MB / 1.035 GB, free: 11.81 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002704/0.8607, allocations: 0.6303 MB / 1.036 GB, free: 11.18 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006131/0.8668, allocations: 4.542 MB / 1.04 GB, free: 6.617 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00152/0.8684, allocations: 1.915 MB / 1.042 GB, free: 4.668 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001125/0.8695, allocations: 321.6 kB / 1.042 GB, free: 4.348 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003301/0.8698, allocations: 87.44 kB / 1.043 GB, free: 4.262 MB / 0.795 GB Notification: Performance of SimCode: time 1.082e-06/0.8698, allocations: 0 / 1.043 GB, free: 4.262 MB / 0.795 GB Notification: Performance of Templates: time 0.06712/0.937, allocations: 38.92 MB / 1.081 GB, free: 13.75 MB / 0.8419 GB make -j1 -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.makefile (rm -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.sim & ./Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches