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 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.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.001532/0.001532, allocations: 105.5 kB / 16.36 MB, free: 6.336 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.001753/0.001754, allocations: 198.1 kB / 17.3 MB, free: 5.883 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.294/1.294, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.391/2.391, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 68.31 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2601, allocations: 153 MB / 1.027 GB, free: 2.043 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.008374/0.2685, allocations: 7.875 MB / 1.034 GB, free: 10.13 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.007135/0.2756, allocations: 5.371 MB / 1.04 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008285/0.2765, allocations: 47.75 kB / 1.04 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.003768/0.2803, allocations: 1.718 MB / 1.041 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001299/0.2816, allocations: 0.6553 MB / 1.042 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007552/0.2824, allocations: 307.3 kB / 1.042 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001995/0.2844, allocations: 2.041 MB / 1.044 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007499/0.2852, allocations: 0.6996 MB / 1.045 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007503/0.2859, allocations: 0.7504 MB / 1.046 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009916/0.2869, allocations: 0.8746 MB / 1.047 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001516/0.2871, allocations: 95.94 kB / 1.047 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004645/0.2876, allocations: 211.8 kB / 1.047 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000309/0.2879, allocations: 370.5 kB / 1.047 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0007334/0.2886, allocations: 0.8739 MB / 1.048 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001895/0.2905, allocations: 2.398 MB / 1.05 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.2905, allocations: 0 / 1.05 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2905, allocations: 0 / 1.05 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.027e-05/0.2906, allocations: 0 / 1.05 GB, free: 9.66 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.003073/0.2937, allocations: 2.35 MB / 1.053 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.2937, allocations: 12.03 kB / 1.053 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002288/0.2939, allocations: 218.2 kB / 1.053 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002456/0.2964, allocations: 1.696 MB / 1.055 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.991e-05/0.2964, allocations: 41 kB / 1.055 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.557e-05/0.2965, allocations: 52 kB / 1.055 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007795/0.2973, allocations: 0.5607 MB / 1.055 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.2973, allocations: 0 / 1.055 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.076e-05/0.2974, allocations: 16 kB / 1.055 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.2974, allocations: 12 kB / 1.055 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007132/0.2981, allocations: 0.4995 MB / 1.056 GB, free: 4.062 MB / 0.8262 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.004132/0.3023, allocations: 3.239 MB / 1.059 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.506e-05/0.3024, allocations: 54.53 kB / 1.059 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.173e-05/0.3024, allocations: 40.89 kB / 1.059 GB, free: 484 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.3024, allocations: 4 kB / 1.059 GB, free: 480 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.3025, allocations: 38.48 kB / 1.059 GB, free: 432 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.613e-06/0.3025, allocations: 0 / 1.059 GB, free: 432 kB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0005112/0.303, allocations: 359 kB / 1.059 GB, free: 64 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.303, allocations: 51.41 kB / 1.059 GB, free: 0 / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003468/0.3065, allocations: 2.935 MB / 1.062 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.3065, allocations: 25.7 kB / 1.062 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007966/0.3074, allocations: 0.9347 MB / 1.063 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.3074, allocations: 15.89 kB / 1.063 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/0.3075, allocations: 110.1 kB / 1.063 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.948e-05/0.3076, allocations: 326 kB / 1.064 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002139/0.3079, allocations: 157 kB / 1.064 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000413/0.3083, allocations: 477.2 kB / 1.064 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005723/0.3089, allocations: 0.6019 MB / 1.065 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.3089, allocations: 4 kB / 1.065 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009781/0.3099, allocations: 0.7642 MB / 1.066 GB, free: 9.332 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.3099, allocations: 12 kB / 1.066 GB, free: 9.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.3099, allocations: 8 kB / 1.066 GB, free: 9.312 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/0.3099, allocations: 16 kB / 1.066 GB, free: 9.297 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003187/0.3102, allocations: 108.4 kB / 1.066 GB, free: 9.191 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.942e-05/0.3103, allocations: 23.92 kB / 1.066 GB, free: 9.168 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005862/0.3109, allocations: 91.06 kB / 1.066 GB, free: 9.078 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.383e-05/0.3109, allocations: 28 kB / 1.066 GB, free: 9.051 MB / 0.8419 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.0007376/0.3117, allocations: 0.7391 MB / 1.067 GB, free: 8.301 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001916/0.3118, allocations: 205.3 kB / 1.067 GB, free: 8.098 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002731/0.3121, allocations: 227.8 kB / 1.067 GB, free: 7.867 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3121, allocations: 0 / 1.067 GB, free: 7.867 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.3121, allocations: 0 / 1.067 GB, free: 7.867 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.3122, allocations: 0 / 1.067 GB, free: 7.867 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009423/0.3131, allocations: 0.9392 MB / 1.068 GB, free: 6.879 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3131, allocations: 7.875 kB / 1.068 GB, free: 6.871 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.116e-05/0.3132, allocations: 4 kB / 1.068 GB, free: 6.867 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.3132, allocations: 0 / 1.068 GB, free: 6.867 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.3132, allocations: 0 / 1.068 GB, free: 6.867 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3132, allocations: 0 / 1.068 GB, free: 6.867 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3132, allocations: 0 / 1.068 GB, free: 6.867 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003636/0.3136, allocations: 425.1 kB / 1.068 GB, free: 6.434 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005994/0.3142, allocations: 366.4 kB / 1.069 GB, free: 6.055 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001696/0.3144, allocations: 0 / 1.069 GB, free: 6.055 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003633/0.3147, allocations: 3.938 kB / 1.069 GB, free: 6.051 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.29e-05/0.3147, allocations: 0 / 1.069 GB, free: 6.051 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.3148, allocations: 0 / 1.069 GB, free: 6.051 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0025/0.3173, allocations: 2.062 MB / 1.071 GB, free: 3.98 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3173, allocations: 4.031 kB / 1.071 GB, free: 3.977 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007039/0.318, allocations: 240 kB / 1.071 GB, free: 3.742 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 (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.0003258/0.3183, allocations: 146.2 kB / 1.071 GB, free: 3.598 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005073/0.3188, allocations: 316.2 kB / 1.071 GB, free: 3.289 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.3189, allocations: 2 kB / 1.071 GB, free: 3.289 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 6.438e-05/0.3189, allocations: 39.97 kB / 1.071 GB, free: 3.25 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002237/0.3212, allocations: 0.7384 MB / 1.072 GB, free: 2.527 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3952/0.7163, allocations: 3.325 MB / 1.075 GB, free: 52.06 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001382/0.7178, allocations: 1.805 MB / 1.077 GB, free: 51.32 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0008918/0.7187, allocations: 305.8 kB / 1.077 GB, free: 51.3 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001802/0.7188, allocations: 89.38 kB / 1.078 GB, free: 51.3 MB / 0.8419 GB Notification: Performance of SimCode: time 1.182e-06/0.7189, allocations: 0 / 1.078 GB, free: 51.3 MB / 0.8419 GB Notification: Performance of Templates: time 0.05074/0.7696, allocations: 24.72 MB / 1.102 GB, free: 46.73 MB / 0.8419 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 -s gbode -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/jenkins1/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