Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.RadiationTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|radTem.TRad",fileNamePrefix="Buildings_9_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_9_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.001173/0.001173, allocations: 103.5 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.001146/0.001146, 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.206/1.206, 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 1.966/1.966, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 67.53 kB / 0.814 GB, free: 32.61 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2166, allocations: 140.4 MB / 0.9511 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.007877/0.2245, allocations: 7.868 MB / 0.9588 GB, free: 168 kB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.006299/0.2308, allocations: 5.367 MB / 0.964 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006823/0.2315, allocations: 51.75 kB / 0.9641 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.003327/0.2349, allocations: 1.726 MB / 0.9658 GB, free: 8.992 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001054/0.236, allocations: 0.6591 MB / 0.9664 GB, free: 8.328 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006634/0.2366, allocations: 299.4 kB / 0.9667 GB, free: 8.035 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001783/0.2384, allocations: 2.042 MB / 0.9687 GB, free: 5.984 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007015/0.2392, allocations: 0.6957 MB / 0.9694 GB, free: 5.27 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000708/0.2399, allocations: 0.7542 MB / 0.9701 GB, free: 4.512 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008811/0.2408, allocations: 0.8668 MB / 0.971 GB, free: 3.641 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001365/0.2409, allocations: 99.94 kB / 0.9711 GB, free: 3.543 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004042/0.2413, allocations: 215.8 kB / 0.9713 GB, free: 3.332 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002994/0.2416, allocations: 374.4 kB / 0.9716 GB, free: 2.965 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0006782/0.2423, allocations: 0.8661 MB / 0.9725 GB, free: 2.094 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001816/0.2441, allocations: 2.402 MB / 0.9748 GB, free: 15.68 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2441, allocations: 0 / 0.9748 GB, free: 15.68 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.893e-06/0.2442, allocations: 0 / 0.9748 GB, free: 15.68 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.84e-05/0.2442, allocations: 0 / 0.9748 GB, free: 15.68 MB / 0.7637 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.002829/0.247, allocations: 2.346 MB / 0.9771 GB, free: 13.27 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 2.947e-05/0.247, allocations: 8.031 kB / 0.9771 GB, free: 13.26 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002213/0.2473, allocations: 214.2 kB / 0.9773 GB, free: 13.05 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00235/0.2496, allocations: 1.704 MB / 0.979 GB, free: 11.28 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.639e-05/0.2497, allocations: 37 kB / 0.979 GB, free: 11.24 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.512e-05/0.2497, allocations: 48 kB / 0.9791 GB, free: 11.19 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000728/0.2505, allocations: 0.5568 MB / 0.9796 GB, free: 10.63 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.2505, allocations: 0 / 0.9796 GB, free: 10.63 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.788e-05/0.2505, allocations: 24 kB / 0.9796 GB, free: 10.61 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.2506, allocations: 8 kB / 0.9796 GB, free: 10.6 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006624/0.2512, allocations: 0.5035 MB / 0.9801 GB, free: 10.09 MB / 0.7637 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.003732/0.255, allocations: 3.235 MB / 0.9833 GB, free: 6.613 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 8.164e-05/0.2551, allocations: 62.47 kB / 0.9833 GB, free: 6.543 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.927e-05/0.2551, allocations: 48.88 kB / 0.9834 GB, free: 6.492 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.2551, allocations: 4 kB / 0.9834 GB, free: 6.488 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.567e-05/0.2552, allocations: 30.56 kB / 0.9834 GB, free: 6.449 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.2552, allocations: 0 / 0.9834 GB, free: 6.449 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0004373/0.2556, allocations: 358.9 kB / 0.9838 GB, free: 6.09 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/0.2556, allocations: 51.41 kB / 0.9838 GB, free: 6.027 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003121/0.2588, allocations: 2.935 MB / 0.9867 GB, free: 3.078 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.2588, allocations: 29.7 kB / 0.9867 GB, free: 3.043 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007463/0.2596, allocations: 0.9387 MB / 0.9876 GB, free: 2.098 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 6.592e-05/0.2596, allocations: 7.984 kB / 0.9876 GB, free: 2.09 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.2598, allocations: 118 kB / 0.9877 GB, free: 1.965 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.636e-05/0.2599, allocations: 326 kB / 0.9881 GB, free: 1.641 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.2601, allocations: 157 kB / 0.9882 GB, free: 1.488 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000377/0.2604, allocations: 465.2 kB / 0.9886 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005523/0.261, allocations: 0.6097 MB / 0.9892 GB, free: 132 kB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.261, allocations: 8 kB / 0.9892 GB, free: 124 kB / 0.7637 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009115/0.2619, allocations: 0.7572 MB / 0.99 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.262, allocations: 12 kB / 0.99 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.262, allocations: 11.94 kB / 0.99 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.262, allocations: 19.83 kB / 0.99 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002735/0.2623, allocations: 103.8 kB / 0.9901 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.665e-05/0.2623, allocations: 23.92 kB / 0.9902 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004888/0.2628, allocations: 87 kB / 0.9902 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.014e-05/0.2628, allocations: 28 kB / 0.9903 GB, free: 15.07 MB / 0.7794 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.000683/0.2635, allocations: 0.745 MB / 0.991 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001861/0.2637, allocations: 201.4 kB / 0.9912 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002585/0.264, allocations: 223.8 kB / 0.9914 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.264, allocations: 0 / 0.9914 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.264, allocations: 0 / 0.9914 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.264, allocations: 0 / 0.9914 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008991/0.2649, allocations: 0.9392 MB / 0.9923 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2649, allocations: 8 kB / 0.9923 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.43e-05/0.265, allocations: 0 / 0.9923 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.265, allocations: 0 / 0.9923 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.395e-06/0.265, allocations: 0 / 0.9923 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.265, allocations: 3.984 kB / 0.9923 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.265, allocations: 0 / 0.9923 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003666/0.2654, allocations: 425 kB / 0.9927 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005584/0.2659, allocations: 366.3 kB / 0.9931 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001514/0.2661, allocations: 4.031 kB / 0.9931 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003121/0.2664, allocations: 3.938 kB / 0.9931 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.733e-05/0.2664, allocations: 4 kB / 0.9931 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.2664, allocations: 0 / 0.9931 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002249/0.2687, allocations: 2.062 MB / 0.9951 GB, free: 10 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2687, allocations: 0 / 0.9951 GB, free: 10 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0006389/0.2693, allocations: 236 kB / 0.9953 GB, free: 9.77 MB / 0.7794 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.0003138/0.2697, allocations: 158.8 kB / 0.9955 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004009/0.2701, allocations: 314 kB / 0.9958 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2701, allocations: 0 / 0.9958 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.518e-05/0.2701, allocations: 39.97 kB / 0.9958 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002013/0.2722, allocations: 0.7327 MB / 0.9965 GB, free: 8.559 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003669/0.2758, allocations: 3.343 MB / 0.9998 GB, free: 5.176 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001187/0.277, allocations: 1.808 MB / 1.002 GB, free: 3.332 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0006067/0.2777, allocations: 313.3 kB / 1.002 GB, free: 3.02 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/0.2778, allocations: 91.44 kB / 1.002 GB, free: 2.93 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.2778, allocations: 0 / 1.002 GB, free: 2.93 MB / 0.7794 GB Notification: Performance of Templates: time 0.03539/0.3132, allocations: 24.7 MB / 1.026 GB, free: 10.63 MB / 0.8106 GB make -j1 -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.makefile (rm -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.sim & ./Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches