Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.RadiationTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|radTem.TRad",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|radTem.TRad",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001183/0.001183, allocations: 190.3 kB / 16.25 MB, free: 6.629 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.196/1.196, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.397/2.397, allocations: 472.7 MB / 0.7449 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001093/0.001093, allocations: 69.5 kB / 0.9116 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2381, allocations: 159.9 MB / 1.068 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.007306/0.2454, allocations: 7.803 MB / 1.075 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00583/0.2513, allocations: 5.309 MB / 1.081 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006262/0.2519, allocations: 39.81 kB / 1.081 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0033/0.2552, allocations: 1.622 MB / 1.082 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001032/0.2563, allocations: 0.5821 MB / 1.083 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006427/0.257, allocations: 263.7 kB / 1.083 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001708/0.2587, allocations: 2.059 MB / 1.085 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006922/0.2594, allocations: 0.6996 MB / 1.086 GB, free: 8.27 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006806/0.2601, allocations: 0.7698 MB / 1.086 GB, free: 7.496 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008018/0.2609, allocations: 0.898 MB / 1.087 GB, free: 6.594 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001319/0.261, allocations: 96 kB / 1.087 GB, free: 6.5 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003793/0.2614, allocations: 211.8 kB / 1.088 GB, free: 6.293 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.000272/0.2617, allocations: 370.4 kB / 1.088 GB, free: 5.93 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0006279/0.2623, allocations: 0.8778 MB / 1.089 GB, free: 5.047 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001696/0.264, allocations: 2.394 MB / 1.091 GB, free: 2.645 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.264, allocations: 0 / 1.091 GB, free: 2.645 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2641, allocations: 0 / 1.091 GB, free: 2.645 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.707e-05/0.2641, allocations: 0 / 1.091 GB, free: 2.645 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.002563/0.2666, allocations: 2.35 MB / 1.093 GB, free: 232 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.2667, allocations: 12.03 kB / 1.093 GB, free: 220 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002504/0.2669, allocations: 210.3 kB / 1.094 GB, free: 8 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001935/0.2689, allocations: 1.615 MB / 1.095 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.2689, allocations: 37 kB / 1.095 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.457e-05/0.269, allocations: 52 kB / 1.095 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007588/0.2698, allocations: 0.5607 MB / 1.096 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.2698, allocations: 0 / 1.096 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.223e-05/0.2698, allocations: 20 kB / 1.096 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.2698, allocations: 15.94 kB / 1.096 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000649/0.2705, allocations: 0.4957 MB / 1.096 GB, free: 13.14 MB / 0.8575 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.003488/0.274, allocations: 3.262 MB / 1.1 GB, free: 9.637 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.249e-05/0.2741, allocations: 54.48 kB / 1.1 GB, free: 9.574 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.886e-05/0.2741, allocations: 48.88 kB / 1.1 GB, free: 9.523 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.2742, allocations: 0 / 1.1 GB, free: 9.523 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.617e-05/0.2742, allocations: 34.56 kB / 1.1 GB, free: 9.48 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.2742, allocations: 0 / 1.1 GB, free: 9.48 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0004467/0.2746, allocations: 359 kB / 1.1 GB, free: 9.121 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.2747, allocations: 55.44 kB / 1.1 GB, free: 9.055 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003031/0.2777, allocations: 2.958 MB / 1.103 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.2777, allocations: 25.7 kB / 1.103 GB, free: 6.051 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007/0.2784, allocations: 0.9386 MB / 1.104 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.514e-05/0.2785, allocations: 15.89 kB / 1.104 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.2786, allocations: 114 kB / 1.104 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.116e-05/0.2787, allocations: 330 kB / 1.104 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001902/0.2789, allocations: 153 kB / 1.105 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000366/0.2793, allocations: 469.2 kB / 1.105 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000521/0.2798, allocations: 0.602 MB / 1.106 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.2798, allocations: 4 kB / 1.106 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008684/0.2807, allocations: 0.7642 MB / 1.106 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.2807, allocations: 12 kB / 1.106 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.2807, allocations: 8 kB / 1.106 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.569e-05/0.2808, allocations: 19.98 kB / 1.106 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002741/0.281, allocations: 103.8 kB / 1.106 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.802e-05/0.2811, allocations: 24.55 kB / 1.106 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005062/0.2816, allocations: 94.97 kB / 1.107 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.177e-05/0.2816, allocations: 28 kB / 1.107 GB, free: 2.074 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (58): * Single equations (assignments): 58 * 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.0006728/0.2823, allocations: 0.7369 MB / 1.107 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001762/0.2825, allocations: 209.4 kB / 1.107 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002413/0.2827, allocations: 223.8 kB / 1.108 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.2827, allocations: 4 kB / 1.108 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.2827, allocations: 0 / 1.108 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.2827, allocations: 3.938 kB / 1.108 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008809/0.2836, allocations: 0.947 MB / 1.109 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2836, allocations: 0 / 1.109 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.892e-05/0.2837, allocations: 4 kB / 1.109 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2837, allocations: 0 / 1.109 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.2837, allocations: 0 / 1.109 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2837, allocations: 4 kB / 1.109 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2837, allocations: 0 / 1.109 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003349/0.284, allocations: 429 kB / 1.109 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004077/0.2845, allocations: 366.4 kB / 1.109 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001599/0.2846, allocations: 0 / 1.109 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003126/0.2849, allocations: 7.984 kB / 1.109 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.567e-05/0.285, allocations: 0 / 1.109 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.285, allocations: 0 / 1.109 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.002209/0.2872, allocations: 2.089 MB / 1.111 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2872, allocations: 0 / 1.111 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006277/0.2878, allocations: 239.9 kB / 1.112 GB, free: 12.73 MB / 0.8731 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 (1): * Single equations (assignments): 1 * 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.0003077/0.2881, allocations: 148.4 kB / 1.112 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003954/0.2886, allocations: 309.6 kB / 1.112 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.2886, allocations: 4 kB / 1.112 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 5.272e-05/0.2886, allocations: 40.64 kB / 1.112 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002135/0.2908, allocations: 0.7315 MB / 1.113 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003744/0.2945, allocations: 3.788 MB / 1.117 GB, free: 7.688 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001118/0.2956, allocations: 1.8 MB / 1.118 GB, free: 5.852 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0007234/0.2964, allocations: 347 kB / 1.119 GB, free: 5.508 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000166/0.2965, allocations: 103.4 kB / 1.119 GB, free: 5.406 MB / 0.8731 GB Notification: Performance of SimCode: time 2.51e-07/0.2966, allocations: 0 / 1.119 GB, free: 5.406 MB / 0.8731 GB Notification: Performance of Templates: time 0.03526/0.3318, allocations: 25.15 MB / 1.143 GB, free: 12.64 MB / 0.9044 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.makefile (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches