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.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001173/0.001173, allocations: 107.2 kB / 16.36 MB, free: 5.824 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.001137/0.001137, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.177/1.177, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.168/2.168, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 65.14 kB / 0.8773 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2401, allocations: 153 MB / 1.027 GB, free: 2.016 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.007294/0.2474, allocations: 7.237 MB / 1.034 GB, free: 10.74 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.006443/0.2539, allocations: 5.543 MB / 1.039 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005194/0.2544, allocations: 47.69 kB / 1.039 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.003095/0.2575, allocations: 1.695 MB / 1.041 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0009284/0.2585, allocations: 0.6204 MB / 1.042 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007549/0.2592, allocations: 383 kB / 1.042 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.002315/0.2616, allocations: 2.939 MB / 1.045 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005525/0.2621, allocations: 0.5449 MB / 1.045 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009973/0.2631, allocations: 1.082 MB / 1.046 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001529/0.2647, allocations: 1.62 MB / 1.048 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002777/0.265, allocations: 196 kB / 1.048 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005011/0.2655, allocations: 319.8 kB / 1.048 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0005637/0.266, allocations: 0.6933 MB / 1.049 GB, free: 11 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001022/0.2671, allocations: 1.209 MB / 1.05 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.002456/0.2695, allocations: 3.45 MB / 1.054 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.2696, allocations: 8 kB / 1.054 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.445e-06/0.2696, allocations: 0 / 1.054 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.027e-05/0.2696, allocations: 3.938 kB / 1.054 GB, free: 6.316 MB / 0.8262 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.005557/0.2751, allocations: 3.39 MB / 1.057 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.2752, allocations: 8.031 kB / 1.057 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003174/0.2755, allocations: 245.9 kB / 1.057 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002732/0.2782, allocations: 1.991 MB / 1.059 GB, free: 0.5547 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.513e-05/0.2783, allocations: 65 kB / 1.059 GB, free: 500 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001735/0.2785, allocations: 88 kB / 1.059 GB, free: 412 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009234/0.2794, allocations: 0.7169 MB / 1.06 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.2794, allocations: 0 / 1.06 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.656e-05/0.2795, allocations: 20 kB / 1.06 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.2795, allocations: 8 kB / 1.06 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/0.2808, allocations: 0.9836 MB / 1.061 GB, free: 14.67 MB / 0.8419 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.008445/0.2892, allocations: 4.483 MB / 1.065 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.2904, allocations: 0.7815 MB / 1.066 GB, free: 9.25 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005755/0.291, allocations: 0.5051 MB / 1.067 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.865e-05/0.291, allocations: 7.953 kB / 1.067 GB, free: 8.734 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.291, allocations: 38.5 kB / 1.067 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=44): time 1.744e-06/0.2911, allocations: 4 kB / 1.067 GB, free: 8.684 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44): time 0.008292/0.2994, allocations: 3.469 MB / 1.07 GB, free: 5.184 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.2994, allocations: 55.41 kB / 1.07 GB, free: 5.117 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003235/0.3026, allocations: 2.948 MB / 1.073 GB, free: 2.156 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001759/0.3028, allocations: 53.7 kB / 1.073 GB, free: 2.098 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007867/0.3036, allocations: 0.8591 MB / 1.074 GB, free: 1.23 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001424/0.3038, allocations: 161.7 kB / 1.074 GB, free: 1.07 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005306/0.3043, allocations: 331.5 kB / 1.074 GB, free: 0.7422 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.3044, allocations: 365.9 kB / 1.075 GB, free: 388 kB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3826/0.6871, allocations: 1.371 MB / 1.076 GB, free: 51.8 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00203/0.6892, allocations: 1.623 MB / 1.078 GB, free: 51.59 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002219/0.6914, allocations: 1.918 MB / 1.079 GB, free: 50.77 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.6914, allocations: 0 / 1.079 GB, free: 50.77 MB / 0.8419 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.006448/0.6979, allocations: 4.09 MB / 1.083 GB, free: 49.38 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.6979, allocations: 9.062 kB / 1.083 GB, free: 49.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.617e-06/0.6979, allocations: 1.031 kB / 1.083 GB, free: 49.38 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003013/0.7009, allocations: 1.103 MB / 1.085 GB, free: 49.23 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/0.702, allocations: 224.5 kB / 1.085 GB, free: 49.21 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01044/0.7125, allocations: 7.95 MB / 1.093 GB, free: 45.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001809/0.7143, allocations: 255 kB / 1.093 GB, free: 45.61 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001817/0.7145, allocations: 42.92 kB / 1.093 GB, free: 45.6 MB / 0.8419 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.0009956/0.7155, allocations: 0.805 MB / 1.094 GB, free: 45.26 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002305/0.7157, allocations: 219.3 kB / 1.094 GB, free: 45.14 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003663/0.7161, allocations: 256.1 kB / 1.094 GB, free: 45.01 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.7161, allocations: 4.125 kB / 1.094 GB, free: 45.01 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.099e-05/0.7161, allocations: 10.64 kB / 1.094 GB, free: 45.01 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.7161, allocations: 2.484 kB / 1.094 GB, free: 45.01 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001253/0.7174, allocations: 1.226 MB / 1.095 GB, free: 44.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.7174, allocations: 0 / 1.095 GB, free: 44.48 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.807e-05/0.7175, allocations: 8.125 kB / 1.095 GB, free: 44.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002639/0.7201, allocations: 1.023 MB / 1.096 GB, free: 44.33 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.14e-05/0.7202, allocations: 6.75 kB / 1.096 GB, free: 44.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0101/0.7303, allocations: 7.927 MB / 1.104 GB, free: 40.74 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.7303, allocations: 0 / 1.104 GB, free: 40.74 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003355/0.7337, allocations: 1.954 MB / 1.106 GB, free: 40.06 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008396/0.7345, allocations: 445.2 kB / 1.106 GB, free: 39.78 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001794/0.7347, allocations: 9.281 kB / 1.106 GB, free: 39.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005125/0.7352, allocations: 31.69 kB / 1.106 GB, free: 39.76 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.7354, allocations: 39.5 kB / 1.106 GB, free: 39.76 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.138e-05/0.7354, allocations: 16.08 kB / 1.106 GB, free: 39.75 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002534/0.7379, allocations: 2.037 MB / 1.108 GB, free: 39.09 MB / 0.8419 GB Notification: Performance of sort global known variables: time 7.92e-07/0.738, allocations: 0 / 1.108 GB, free: 39.09 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001569/0.7395, allocations: 0.613 MB / 1.109 GB, free: 39.04 MB / 0.8419 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.0003231/0.7399, allocations: 164.2 kB / 1.109 GB, free: 38.93 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.004305/0.7442, allocations: 2.81 MB / 1.112 GB, free: 37.82 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.7442, allocations: 0 / 1.112 GB, free: 37.82 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001977/0.7462, allocations: 1.04 MB / 1.113 GB, free: 37.41 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002219/0.7484, allocations: 0.6768 MB / 1.114 GB, free: 37.21 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005002/0.7534, allocations: 4.133 MB / 1.118 GB, free: 35.52 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001219/0.7547, allocations: 1.917 MB / 1.12 GB, free: 34.6 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0009581/0.7556, allocations: 331.5 kB / 1.12 GB, free: 34.55 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002993/0.7559, allocations: 87.91 kB / 1.12 GB, free: 34.55 MB / 0.8419 GB Notification: Performance of SimCode: time 8.11e-07/0.7559, allocations: 0 / 1.12 GB, free: 34.55 MB / 0.8419 GB Notification: Performance of Templates: time 0.0448/0.8007, allocations: 42.03 MB / 1.161 GB, free: 0.8086 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.makefile (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 & ./Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches