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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001038/0.001038, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009595/0.0009595, allocations: 191.1 kB / 16.14 MB, free: 6.711 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.172/1.172, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.024/2.024, allocations: 390.2 MB / 0.6642 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001072/0.001072, allocations: 63.91 kB / 0.8119 GB, free: 14.92 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4781/0.4792, allocations: 140.3 MB / 0.9489 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.005619/0.4849, allocations: 7.178 MB / 0.9559 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005522/0.4904, allocations: 5.477 MB / 0.9613 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006883/0.4911, allocations: 43.25 kB / 0.9613 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003418/0.4945, allocations: 1.585 MB / 0.9629 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001033/0.4956, allocations: 0.5494 MB / 0.9634 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007516/0.4964, allocations: 344.6 kB / 0.9637 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002512/0.4989, allocations: 3.115 MB / 0.9668 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005705/0.4995, allocations: 0.5115 MB / 0.9673 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001253/0.5007, allocations: 0.9866 MB / 0.9682 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001492/0.5022, allocations: 1.562 MB / 0.9698 GB, free: 9.98 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000289/0.5025, allocations: 125.6 kB / 0.9699 GB, free: 9.98 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005953/0.5031, allocations: 242.5 kB / 0.9701 GB, free: 9.922 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005276/0.5037, allocations: 0.6208 MB / 0.9707 GB, free: 9.504 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001045/0.5047, allocations: 1.14 MB / 0.9718 GB, free: 8.734 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002416/0.5071, allocations: 3.239 MB / 0.975 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.5072, allocations: 0 / 0.975 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.02e-07/0.5072, allocations: 0 / 0.975 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.736e-05/0.5072, allocations: 1.281 kB / 0.975 GB, free: 6.598 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.005706/0.5129, allocations: 3.365 MB / 0.9783 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.5129, allocations: 8.031 kB / 0.9783 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003495/0.5133, allocations: 245.9 kB / 0.9785 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002448/0.5158, allocations: 1.878 MB / 0.9804 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.078e-05/0.5158, allocations: 61 kB / 0.9804 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001794/0.516, allocations: 91.94 kB / 0.9805 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009671/0.517, allocations: 0.7168 MB / 0.9812 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.517, allocations: 0 / 0.9812 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.088e-05/0.517, allocations: 20 kB / 0.9812 GB, free: 0.832 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.517, allocations: 12 kB / 0.9812 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001308/0.5184, allocations: 0.9719 MB / 0.9822 GB, free: 15.85 MB / 0.7481 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.00844/0.5268, allocations: 4.526 MB / 0.9866 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/0.5279, allocations: 0.7854 MB / 0.9874 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005581/0.5285, allocations: 0.4927 MB / 0.9879 GB, free: 9.887 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.69e-05/0.5286, allocations: 4.719 kB / 0.9879 GB, free: 9.883 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.5286, allocations: 42.5 kB / 0.9879 GB, free: 9.832 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=44): time 1.794e-06/0.5286, allocations: 0 / 0.9879 GB, free: 9.832 MB / 0.7481 GB Notification: Performance of matching and sorting (n=44): time 0.008332/0.5369, allocations: 3.476 MB / 0.9913 GB, free: 6.32 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.537, allocations: 67.3 kB / 0.9914 GB, free: 6.242 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003109/0.5401, allocations: 2.972 MB / 0.9943 GB, free: 3.258 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001533/0.5402, allocations: 53.7 kB / 0.9943 GB, free: 3.199 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007609/0.541, allocations: 0.8513 MB / 0.9951 GB, free: 2.34 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/0.5412, allocations: 169.7 kB / 0.9953 GB, free: 2.172 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005429/0.5417, allocations: 327.5 kB / 0.9956 GB, free: 1.848 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.5418, allocations: 361.9 kB / 0.996 GB, free: 1.488 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001707/0.5436, allocations: 1.37 MB / 0.9973 GB, free: 120 kB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001954/0.5455, allocations: 1.632 MB / 0.9989 GB, free: 14.47 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002305/0.5478, allocations: 1.922 MB / 1.001 GB, free: 12.54 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.5478, allocations: 3.938 kB / 1.001 GB, free: 12.53 MB / 0.7637 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.006152/0.554, allocations: 4.086 MB / 1.005 GB, free: 8.43 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.554, allocations: 5.562 kB / 1.005 GB, free: 8.426 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.554, allocations: 0 / 1.005 GB, free: 8.426 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002824/0.5569, allocations: 1.105 MB / 1.006 GB, free: 7.316 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/0.5579, allocations: 223.7 kB / 1.006 GB, free: 7.098 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01015/0.5681, allocations: 7.292 MB / 1.013 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001949/0.57, allocations: 262 kB / 1.013 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001516/0.5702, allocations: 47.98 kB / 1.013 GB, free: 15.36 MB / 0.7794 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.00115/0.5713, allocations: 0.794 MB / 1.014 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002262/0.5716, allocations: 213.1 kB / 1.014 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003657/0.572, allocations: 258.7 kB / 1.015 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.572, allocations: 8 kB / 1.015 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-05/0.572, allocations: 11.98 kB / 1.015 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.572, allocations: 0 / 1.015 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/0.5733, allocations: 1.236 MB / 1.016 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.5733, allocations: 3.938 kB / 1.016 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.188e-05/0.5734, allocations: 4 kB / 1.016 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002652/0.576, allocations: 1.023 MB / 1.017 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.566e-05/0.5761, allocations: 8 kB / 1.017 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009754/0.5859, allocations: 7.256 MB / 1.024 GB, free: 4.336 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.5859, allocations: 4 kB / 1.024 GB, free: 4.332 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003244/0.5891, allocations: 1.95 MB / 1.026 GB, free: 2.359 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006015/0.5897, allocations: 446 kB / 1.026 GB, free: 1.902 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001804/0.5899, allocations: 12 kB / 1.026 GB, free: 1.891 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005301/0.5905, allocations: 31.81 kB / 1.026 GB, free: 1.859 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.5906, allocations: 51.81 kB / 1.026 GB, free: 1.809 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.992e-05/0.5906, allocations: 8 kB / 1.026 GB, free: 1.801 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002409/0.593, allocations: 2.055 MB / 1.028 GB, free: 15.74 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.9e-07/0.593, allocations: 4 kB / 1.028 GB, free: 15.73 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001463/0.5945, allocations: 0.6132 MB / 1.029 GB, free: 15.12 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 (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.0003344/0.5949, allocations: 161.2 kB / 1.029 GB, free: 14.96 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00421/0.5991, allocations: 2.811 MB / 1.032 GB, free: 12.14 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5991, allocations: 0 / 1.032 GB, free: 12.14 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001953/0.601, allocations: 1.04 MB / 1.033 GB, free: 11.09 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002286/0.6033, allocations: 0.6241 MB / 1.034 GB, free: 10.47 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005331/0.6087, allocations: 4.663 MB / 1.038 GB, free: 5.781 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001327/0.61, allocations: 1.915 MB / 1.04 GB, free: 3.832 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.000908/0.6109, allocations: 325.6 kB / 1.04 GB, free: 3.508 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00031/0.6113, allocations: 87.44 kB / 1.04 GB, free: 3.422 MB / 0.795 GB Notification: Performance of SimCode: time 4.41e-07/0.6113, allocations: 0 / 1.04 GB, free: 3.422 MB / 0.795 GB Notification: Performance of Templates: time 0.0529/0.6642, allocations: 40.75 MB / 1.08 GB, free: 11.07 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