Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.0009655/0.0009656, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001092/0.001092, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.697/2.697, allocations: 437.7 MB / 0.7117 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003827/0.0003827, allocations: 12 kB / 0.8722 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8176/0.8181, allocations: 153.8 MB / 1.022 GB, free: 212 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.01145/0.8295, allocations: 6.923 MB / 1.029 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01156/0.8412, allocations: 4.924 MB / 1.034 GB, free: 4.324 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00278/0.844, allocations: 39.75 kB / 1.034 GB, free: 4.285 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00662/0.8507, allocations: 1.384 MB / 1.035 GB, free: 2.895 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.003574/0.8543, allocations: 0.586 MB / 1.036 GB, free: 2.305 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001754/0.856, allocations: 231.7 kB / 1.036 GB, free: 2.078 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004729/0.8608, allocations: 1.949 MB / 1.038 GB, free: 124 kB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001544/0.8624, allocations: 0.5894 MB / 1.039 GB, free: 15.51 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001567/0.8639, allocations: 0.6725 MB / 1.039 GB, free: 14.84 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001988/0.866, allocations: 0.8048 MB / 1.04 GB, free: 14.03 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0003255/0.8663, allocations: 72 kB / 1.04 GB, free: 13.96 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008125/0.8671, allocations: 175.8 kB / 1.04 GB, free: 13.79 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0005027/0.8676, allocations: 322.6 kB / 1.041 GB, free: 13.47 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0005964/0.8683, allocations: 392.6 kB / 1.041 GB, free: 13.08 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002746/0.871, allocations: 1.785 MB / 1.043 GB, free: 11.29 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/0.8711, allocations: 0 / 1.043 GB, free: 11.29 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.497e-06/0.8711, allocations: 0 / 1.043 GB, free: 11.29 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.462e-05/0.8712, allocations: 3.938 kB / 1.043 GB, free: 11.29 MB / 0.795 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.005441/0.8766, allocations: 2.042 MB / 1.045 GB, free: 9.18 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.79e-05/0.8767, allocations: 8.562 kB / 1.045 GB, free: 9.172 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004308/0.8771, allocations: 209.4 kB / 1.045 GB, free: 8.965 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003644/0.8808, allocations: 1.51 MB / 1.046 GB, free: 7.387 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.162e-05/0.8809, allocations: 41 kB / 1.046 GB, free: 7.344 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.881, allocations: 55.95 kB / 1.047 GB, free: 7.289 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001419/0.8824, allocations: 0.549 MB / 1.047 GB, free: 6.734 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.8825, allocations: 0 / 1.047 GB, free: 6.734 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-05/0.8825, allocations: 20 kB / 1.047 GB, free: 6.715 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.173e-05/0.8826, allocations: 12 kB / 1.047 GB, free: 6.703 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00122/0.8838, allocations: 0.4918 MB / 1.048 GB, free: 6.211 MB / 0.795 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.006779/0.8906, allocations: 3.29 MB / 1.051 GB, free: 2.676 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.8908, allocations: 58.55 kB / 1.051 GB, free: 2.609 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.8909, allocations: 48.81 kB / 1.051 GB, free: 2.559 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.8909, allocations: 0 / 1.051 GB, free: 2.559 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.891, allocations: 34.56 kB / 1.051 GB, free: 2.516 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 1.923e-06/0.891, allocations: 0 / 1.051 GB, free: 2.516 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.000885/0.8919, allocations: 362.9 kB / 1.051 GB, free: 2.152 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.8919, allocations: 51.41 kB / 1.051 GB, free: 2.09 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005989/0.8979, allocations: 2.931 MB / 1.054 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.475e-05/0.898, allocations: 33.7 kB / 1.054 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.001376/0.8994, allocations: 0.9425 MB / 1.055 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.8994, allocations: 11.98 kB / 1.055 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/0.8995, allocations: 8 kB / 1.055 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001857/0.8997, allocations: 329.9 kB / 1.055 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003725/0.9, allocations: 149 kB / 1.056 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007223/0.9008, allocations: 469.3 kB / 1.056 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005402/0.9013, allocations: 239.7 kB / 1.056 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.9013, allocations: 0 / 1.056 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001779/0.9031, allocations: 0.7679 MB / 1.057 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.229e-05/0.9032, allocations: 8 kB / 1.057 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.259e-05/0.9032, allocations: 12.88 kB / 1.057 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.652e-05/0.9033, allocations: 16 kB / 1.057 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005161/0.9038, allocations: 103.8 kB / 1.057 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.492e-05/0.9038, allocations: 23.92 kB / 1.057 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/0.9049, allocations: 94.98 kB / 1.057 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.292e-05/0.905, allocations: 28 kB / 1.057 GB, free: 11.77 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001384/0.9064, allocations: 0.7354 MB / 1.058 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003305/0.9067, allocations: 209.3 kB / 1.058 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004451/0.9072, allocations: 215.8 kB / 1.058 GB, free: 10.6 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.9072, allocations: 0 / 1.058 GB, free: 10.6 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.9072, allocations: 7.938 kB / 1.058 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.9072, allocations: 0 / 1.058 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001688/0.9089, allocations: 0.9508 MB / 1.059 GB, free: 9.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.9089, allocations: 0 / 1.059 GB, free: 9.59 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.8e-05/0.909, allocations: 4 kB / 1.059 GB, free: 9.586 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.909, allocations: 4 kB / 1.059 GB, free: 9.582 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.909, allocations: 0 / 1.059 GB, free: 9.582 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.909, allocations: 4 kB / 1.059 GB, free: 9.578 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.909, allocations: 0 / 1.059 GB, free: 9.578 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005805/0.9096, allocations: 421.1 kB / 1.06 GB, free: 9.148 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006789/0.9103, allocations: 370.3 kB / 1.06 GB, free: 8.766 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002378/0.9106, allocations: 3.984 kB / 1.06 GB, free: 8.762 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005506/0.9111, allocations: 8.031 kB / 1.06 GB, free: 8.754 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.35e-05/0.9111, allocations: 4 kB / 1.06 GB, free: 8.75 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.9112, allocations: 0 / 1.06 GB, free: 8.75 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.004175/0.9153, allocations: 2.054 MB / 1.062 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.4e-07/0.9154, allocations: 0 / 1.062 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001396/0.9168, allocations: 236 kB / 1.062 GB, free: 6.457 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005563/0.9173, allocations: 166.2 kB / 1.063 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007999/0.9182, allocations: 301.9 kB / 1.063 GB, free: 6 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.9182, allocations: 4.375 kB / 1.063 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.9183, allocations: 47.89 kB / 1.063 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003704/0.922, allocations: 0.6557 MB / 1.063 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007176/0.9292, allocations: 3.645 MB / 1.067 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002165/0.9314, allocations: 1.804 MB / 1.069 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001515/0.9329, allocations: 297.3 kB / 1.069 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003056/0.9332, allocations: 95.38 kB / 1.069 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of SimCode: time 1.332e-06/0.9333, allocations: 0 / 1.069 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of Templates: time 0.05242/0.9857, allocations: 23.13 MB / 1.092 GB, free: 8.613 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.makefile (rm -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.sim & ./Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches