Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.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.InfraredRadiationGainDistribution,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001771/0.001771, allocations: 191 kB / 17.29 MB, free: 5.516 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.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.17/2.17, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 69.98 kB / 0.814 GB, free: 32.51 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.2289, allocations: 140.4 MB / 0.9511 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.008155/0.2371, allocations: 7.335 MB / 0.9583 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.006541/0.2436, allocations: 5.2 MB / 0.9634 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000642/0.2443, allocations: 47.75 kB / 0.9634 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0036/0.2479, allocations: 1.691 MB / 0.9651 GB, free: 9.727 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001116/0.2491, allocations: 0.601 MB / 0.9656 GB, free: 9.121 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.000617/0.2497, allocations: 227.3 kB / 0.9659 GB, free: 8.902 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001684/0.2514, allocations: 1.768 MB / 0.9676 GB, free: 7.129 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006538/0.2521, allocations: 0.5775 MB / 0.9682 GB, free: 6.531 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006696/0.2527, allocations: 0.6763 MB / 0.9688 GB, free: 5.852 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008763/0.2536, allocations: 0.8084 MB / 0.9696 GB, free: 5.039 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001359/0.2538, allocations: 80 kB / 0.9697 GB, free: 4.961 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003934/0.2542, allocations: 191.8 kB / 0.9699 GB, free: 4.773 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002978/0.2545, allocations: 334.5 kB / 0.9702 GB, free: 4.445 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.000665/0.2552, allocations: 0.7883 MB / 0.9709 GB, free: 3.652 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001796/0.257, allocations: 2.207 MB / 0.9731 GB, free: 1.438 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.257, allocations: 0 / 0.9731 GB, free: 1.438 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.172e-06/0.257, allocations: 0 / 0.9731 GB, free: 1.438 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.774e-05/0.257, allocations: 0 / 0.9731 GB, free: 1.438 MB / 0.7481 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.002897/0.2599, allocations: 2.198 MB / 0.9753 GB, free: 15.17 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.2599, allocations: 8.031 kB / 0.9753 GB, free: 15.16 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002218/0.2602, allocations: 202.4 kB / 0.9755 GB, free: 14.96 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002521/0.2627, allocations: 1.661 MB / 0.9771 GB, free: 13.23 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.629e-05/0.2627, allocations: 29 kB / 0.9771 GB, free: 13.2 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.978e-05/0.2628, allocations: 39.98 kB / 0.9771 GB, free: 13.16 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006648/0.2635, allocations: 454.2 kB / 0.9776 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.2635, allocations: 0 / 0.9776 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.415e-05/0.2635, allocations: 12 kB / 0.9776 GB, free: 12.7 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.012e-05/0.2636, allocations: 20.98 kB / 0.9776 GB, free: 12.68 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006144/0.2642, allocations: 431.7 kB / 0.978 GB, free: 12.26 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002996/0.2672, allocations: 2.288 MB / 0.9803 GB, free: 9.824 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009493/0.2682, allocations: 0.5045 MB / 0.9807 GB, free: 9.309 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002614/0.2685, allocations: 209.2 kB / 0.9809 GB, free: 9.102 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.2685, allocations: 4.281 kB / 0.9809 GB, free: 9.098 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.2685, allocations: 34.84 kB / 0.981 GB, free: 9.055 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=34): time 1.603e-06/0.2685, allocations: 0 / 0.981 GB, free: 9.055 MB / 0.7637 GB Notification: Performance of matching and sorting (n=34): time 0.0009155/0.2694, allocations: 0.6375 MB / 0.9816 GB, free: 8.41 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.2695, allocations: 59.41 kB / 0.9817 GB, free: 8.34 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002992/0.2725, allocations: 2.559 MB / 0.9842 GB, free: 5.75 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 3.213e-05/0.2725, allocations: 33.7 kB / 0.9842 GB, free: 5.711 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007021/0.2732, allocations: 0.7643 MB / 0.9849 GB, free: 4.941 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 7.866e-05/0.2733, allocations: 110.4 kB / 0.985 GB, free: 4.832 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.2734, allocations: 77.53 kB / 0.9851 GB, free: 4.75 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.548e-05/0.2736, allocations: 318.5 kB / 0.9854 GB, free: 4.434 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001884/0.2737, allocations: 131.9 kB / 0.9855 GB, free: 4.305 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/0.274, allocations: 181.4 kB / 0.9857 GB, free: 4.121 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004188/0.2744, allocations: 326.4 kB / 0.986 GB, free: 3.801 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.2744, allocations: 0 / 0.986 GB, free: 3.801 MB / 0.7637 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006513/0.2751, allocations: 0.53 MB / 0.9865 GB, free: 3.262 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.2751, allocations: 8 kB / 0.9866 GB, free: 3.254 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.2751, allocations: 0 / 0.9866 GB, free: 3.254 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.2751, allocations: 0 / 0.9866 GB, free: 3.254 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003306/0.2755, allocations: 79.89 kB / 0.9866 GB, free: 3.176 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.2755, allocations: 8.031 kB / 0.9866 GB, free: 3.168 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003388/0.2758, allocations: 27.59 kB / 0.9867 GB, free: 3.141 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.2759, allocations: 8 kB / 0.9867 GB, free: 3.133 MB / 0.7637 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.0006748/0.2765, allocations: 0.6886 MB / 0.9873 GB, free: 2.434 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000186/0.2767, allocations: 185.7 kB / 0.9875 GB, free: 2.25 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002909/0.277, allocations: 215.2 kB / 0.9877 GB, free: 2.035 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.277, allocations: 4 kB / 0.9877 GB, free: 2.031 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.277, allocations: 4 kB / 0.9877 GB, free: 2.027 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.2771, allocations: 0 / 0.9877 GB, free: 2.027 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002086/0.2791, allocations: 1.578 MB / 0.9893 GB, free: 388 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.2792, allocations: 4 kB / 0.9893 GB, free: 384 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002893/0.2795, allocations: 67.91 kB / 0.9893 GB, free: 316 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.281e-06/0.2795, allocations: 7.984 kB / 0.9894 GB, free: 308 kB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.2795, allocations: 8 kB / 0.9894 GB, free: 300 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.2795, allocations: 0 / 0.9894 GB, free: 300 kB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.2795, allocations: 11.97 kB / 0.9894 GB, free: 288 kB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006812/0.2802, allocations: 0.6439 MB / 0.99 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006248/0.2808, allocations: 366.6 kB / 0.9904 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001521/0.281, allocations: 8 kB / 0.9904 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003948/0.2814, allocations: 7.984 kB / 0.9904 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.34e-05/0.2814, allocations: 31.91 kB / 0.9904 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.2815, allocations: 8 kB / 0.9904 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.00224/0.2837, allocations: 1.831 MB / 0.9922 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2837, allocations: 0 / 0.9922 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005848/0.2843, allocations: 235.7 kB / 0.9924 GB, free: 13.09 MB / 0.7794 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.0003614/0.2847, allocations: 167.2 kB / 0.9926 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005074/0.2852, allocations: 331.6 kB / 0.9929 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2852, allocations: 0 / 0.9929 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000235/0.2855, allocations: 171.8 kB / 0.9931 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002041/0.2875, allocations: 0.6221 MB / 0.9937 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004244/0.2918, allocations: 3.353 MB / 0.9969 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001257/0.293, allocations: 1.746 MB / 0.9986 GB, free: 6.648 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0006444/0.2937, allocations: 315.2 kB / 0.9989 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/0.2939, allocations: 87.42 kB / 0.999 GB, free: 6.25 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.2939, allocations: 0 / 0.999 GB, free: 6.25 MB / 0.7794 GB Notification: Performance of Templates: time 0.0343/0.3282, allocations: 21.72 MB / 1.02 GB, free: 0.8867 MB / 0.795 GB make -j1 -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.makefile (rm -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & ./Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches