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.0009222/0.0009222, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.00511/0.00511, allocations: 171 kB / 16.26 MB, free: 6.676 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.195/1.195, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.289/2.289, allocations: 443.3 MB / 0.7175 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003168/0.0003168, allocations: 8.344 kB / 0.8796 GB, free: 41.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2324, allocations: 155.2 MB / 1.031 GB, free: 4.281 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.006932/0.2394, allocations: 7.362 MB / 1.038 GB, free: 12.88 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.005828/0.2452, allocations: 5.255 MB / 1.043 GB, free: 7.609 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000548/0.2458, allocations: 39.81 kB / 1.043 GB, free: 7.57 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.003191/0.249, allocations: 1.602 MB / 1.045 GB, free: 5.961 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0009696/0.25, allocations: 0.5821 MB / 1.046 GB, free: 5.375 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005629/0.2506, allocations: 259.6 kB / 1.046 GB, free: 5.121 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001886/0.2525, allocations: 2.336 MB / 1.048 GB, free: 2.777 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006373/0.2531, allocations: 0.636 MB / 1.049 GB, free: 2.121 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005949/0.2537, allocations: 0.6839 MB / 1.049 GB, free: 1.434 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007827/0.2545, allocations: 0.8512 MB / 1.05 GB, free: 0.5781 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001137/0.2546, allocations: 72 kB / 1.05 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003509/0.255, allocations: 187.8 kB / 1.05 GB, free: 332 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0002695/0.2553, allocations: 342.5 kB / 1.051 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000628/0.2559, allocations: 0.8676 MB / 1.052 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001571/0.2575, allocations: 2.195 MB / 1.054 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2575, allocations: 0 / 1.054 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.163e-06/0.2575, allocations: 0 / 1.054 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.543e-05/0.2575, allocations: 0 / 1.054 GB, free: 12.91 MB / 0.8106 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.0023/0.2598, allocations: 2.017 MB / 1.056 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.2599, allocations: 16.02 kB / 1.056 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002224/0.2601, allocations: 214.2 kB / 1.056 GB, free: 10.6 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001962/0.2621, allocations: 1.595 MB / 1.058 GB, free: 8.934 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.254e-05/0.2621, allocations: 41 kB / 1.058 GB, free: 8.895 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.54e-05/0.2622, allocations: 48 kB / 1.058 GB, free: 8.848 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007677/0.2629, allocations: 0.5529 MB / 1.058 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.263, allocations: 3.938 kB / 1.058 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.225e-05/0.263, allocations: 23.98 kB / 1.058 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.263, allocations: 12 kB / 1.058 GB, free: 8.246 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006681/0.2637, allocations: 0.4957 MB / 1.059 GB, free: 7.75 MB / 0.8106 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.003633/0.2673, allocations: 3.294 MB / 1.062 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.351e-05/0.2674, allocations: 58.53 kB / 1.062 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.299e-05/0.2675, allocations: 52.81 kB / 1.062 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.938e-06/0.2675, allocations: 0 / 1.062 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.2676, allocations: 34.56 kB / 1.062 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 2.415e-06/0.2676, allocations: 4 kB / 1.062 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0004324/0.268, allocations: 358.9 kB / 1.062 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.49e-05/0.268, allocations: 51.41 kB / 1.062 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003173/0.2712, allocations: 2.962 MB / 1.065 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.2712, allocations: 25.7 kB / 1.065 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000776/0.272, allocations: 0.9425 MB / 1.066 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.309e-05/0.272, allocations: 11.94 kB / 1.066 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.333e-05/0.2721, allocations: 49.69 kB / 1.066 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.745e-05/0.2722, allocations: 322.1 kB / 1.067 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002018/0.2724, allocations: 160.9 kB / 1.067 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003957/0.2728, allocations: 469.2 kB / 1.067 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005639/0.2734, allocations: 0.602 MB / 1.068 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.2734, allocations: 4 kB / 1.068 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009102/0.2743, allocations: 0.7602 MB / 1.069 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.2743, allocations: 8 kB / 1.069 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.2744, allocations: 12 kB / 1.069 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.2744, allocations: 12.81 kB / 1.069 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002887/0.2747, allocations: 111.8 kB / 1.069 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.593e-05/0.2747, allocations: 23.92 kB / 1.069 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004948/0.2752, allocations: 94.97 kB / 1.069 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.631e-05/0.2752, allocations: 28 kB / 1.069 GB, free: 12.71 MB / 0.8262 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.0006802/0.2759, allocations: 0.743 MB / 1.07 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/0.2761, allocations: 201.4 kB / 1.07 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000263/0.2764, allocations: 227.7 kB / 1.07 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.2764, allocations: 0 / 1.07 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.2764, allocations: 0 / 1.07 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-06/0.2764, allocations: 3.938 kB / 1.07 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008975/0.2773, allocations: 0.947 MB / 1.071 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2773, allocations: 0 / 1.071 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.697e-05/0.2774, allocations: 3.984 kB / 1.071 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.2774, allocations: 0 / 1.071 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.2774, allocations: 8 kB / 1.071 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.2774, allocations: 0 / 1.071 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2774, allocations: 0 / 1.071 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00034/0.2778, allocations: 417.1 kB / 1.071 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004062/0.2782, allocations: 366.4 kB / 1.072 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001425/0.2783, allocations: 0 / 1.072 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000315/0.2786, allocations: 0 / 1.072 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.634e-05/0.2787, allocations: 8.031 kB / 1.072 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.2787, allocations: 0 / 1.072 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.002311/0.281, allocations: 2.086 MB / 1.074 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.281, allocations: 0 / 1.074 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0006346/0.2816, allocations: 247.8 kB / 1.074 GB, free: 7.363 MB / 0.8262 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.0003243/0.282, allocations: 149.7 kB / 1.074 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004103/0.2824, allocations: 310.2 kB / 1.074 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2824, allocations: 0 / 1.074 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.657e-05/0.2825, allocations: 48.08 kB / 1.074 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002262/0.2847, allocations: 0.6637 MB / 1.075 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003811/0.2885, allocations: 3.824 MB / 1.079 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001187/0.2897, allocations: 1.804 MB / 1.081 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0005916/0.2903, allocations: 301.3 kB / 1.081 GB, free: 196 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000162/0.2905, allocations: 91.38 kB / 1.081 GB, free: 104 kB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.2905, allocations: 0 / 1.081 GB, free: 104 kB / 0.8262 GB Notification: Performance of Templates: time 0.03431/0.3248, allocations: 23.74 MB / 1.104 GB, free: 8.73 MB / 0.8575 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