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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature,fileNamePrefix="Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature,fileNamePrefix="Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.227/1.227, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.365/2.365, allocations: 437 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001258, allocations: 67.91 kB / 0.8693 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5232/0.5245, allocations: 151.6 MB / 1.017 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.008308/0.5328, allocations: 7.842 MB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006773/0.5396, allocations: 5.39 MB / 1.03 GB, free: 5.176 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001058/0.5407, allocations: 47.75 kB / 1.03 GB, free: 5.129 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003939/0.5446, allocations: 1.714 MB / 1.032 GB, free: 3.406 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001501/0.5462, allocations: 0.6514 MB / 1.033 GB, free: 2.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008241/0.547, allocations: 300.5 kB / 1.033 GB, free: 2.457 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.002067/0.5491, allocations: 2.034 MB / 1.035 GB, free: 428 kB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007154/0.5498, allocations: 0.6957 MB / 1.036 GB, free: 15.7 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006695/0.5505, allocations: 0.7543 MB / 1.036 GB, free: 14.95 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008668/0.5514, allocations: 0.8824 MB / 1.037 GB, free: 14.06 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001602/0.5515, allocations: 96 kB / 1.037 GB, free: 13.96 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004474/0.552, allocations: 215.8 kB / 1.038 GB, free: 13.75 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.000292/0.5523, allocations: 362.5 kB / 1.038 GB, free: 13.4 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0006924/0.553, allocations: 0.8856 MB / 1.039 GB, free: 12.51 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001792/0.5548, allocations: 2.394 MB / 1.041 GB, free: 10.11 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.5548, allocations: 0 / 1.041 GB, free: 10.11 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5548, allocations: 0 / 1.041 GB, free: 10.11 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.564e-05/0.5548, allocations: 0 / 1.041 GB, free: 10.11 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.002721/0.5576, allocations: 2.35 MB / 1.043 GB, free: 7.688 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.5576, allocations: 12.03 kB / 1.043 GB, free: 7.676 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.052e-05/0.5577, allocations: 86.7 kB / 1.043 GB, free: 7.582 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002457/0.5579, allocations: 218.2 kB / 1.044 GB, free: 7.367 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002044/0.56, allocations: 1.618 MB / 1.045 GB, free: 5.68 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.195e-05/0.56, allocations: 37 kB / 1.045 GB, free: 5.641 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.22e-05/0.5601, allocations: 48 kB / 1.045 GB, free: 5.594 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00075/0.5609, allocations: 0.5529 MB / 1.046 GB, free: 5.035 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.5609, allocations: 0 / 1.046 GB, free: 5.035 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.04e-05/0.5609, allocations: 16 kB / 1.046 GB, free: 5.02 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.5609, allocations: 12 kB / 1.046 GB, free: 5.008 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006785/0.5616, allocations: 0.4995 MB / 1.046 GB, free: 4.512 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.003651/0.5653, allocations: 3.266 MB / 1.05 GB, free: 1 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 8.707e-05/0.5654, allocations: 58.53 kB / 1.05 GB, free: 0.9336 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.853e-05/0.5654, allocations: 48.81 kB / 1.05 GB, free: 0.8828 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.5655, allocations: 0 / 1.05 GB, free: 0.8828 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.627e-05/0.5655, allocations: 34.5 kB / 1.05 GB, free: 0.8398 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.5655, allocations: 4 kB / 1.05 GB, free: 0.8359 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0004488/0.5659, allocations: 355 kB / 1.05 GB, free: 492 kB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.566, allocations: 51.41 kB / 1.05 GB, free: 428 kB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003173/0.5692, allocations: 2.958 MB / 1.053 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.5692, allocations: 29.7 kB / 1.053 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007507/0.5699, allocations: 0.9347 MB / 1.054 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.213e-05/0.57, allocations: 8 kB / 1.054 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.5701, allocations: 122.1 kB / 1.054 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.728e-05/0.5702, allocations: 329.9 kB / 1.054 GB, free: 12 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002076/0.5704, allocations: 149 kB / 1.055 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003847/0.5708, allocations: 477.2 kB / 1.055 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000558/0.5714, allocations: 0.5981 MB / 1.056 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.5714, allocations: 7.984 kB / 1.056 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009214/0.5723, allocations: 0.7601 MB / 1.056 GB, free: 9.723 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.5723, allocations: 8.969 kB / 1.056 GB, free: 9.715 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.5724, allocations: 12 kB / 1.056 GB, free: 9.703 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.5724, allocations: 12 kB / 1.056 GB, free: 9.691 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003002/0.5727, allocations: 115.8 kB / 1.056 GB, free: 9.578 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.48e-05/0.5727, allocations: 15.94 kB / 1.056 GB, free: 9.562 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005012/0.5732, allocations: 94.95 kB / 1.057 GB, free: 9.469 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.9e-05/0.5732, allocations: 28 kB / 1.057 GB, free: 9.441 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006832/0.5739, allocations: 0.743 MB / 1.057 GB, free: 8.688 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001924/0.5741, allocations: 201.4 kB / 1.058 GB, free: 8.488 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000258/0.5744, allocations: 219.8 kB / 1.058 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.5744, allocations: 3.938 kB / 1.058 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.5744, allocations: 0 / 1.058 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.5744, allocations: 4 kB / 1.058 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008969/0.5753, allocations: 0.947 MB / 1.059 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.5753, allocations: 0 / 1.059 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.129e-05/0.5754, allocations: 0 / 1.059 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.5754, allocations: 0 / 1.059 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.5754, allocations: 8 kB / 1.059 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/0.5754, allocations: 0 / 1.059 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.5754, allocations: 0 / 1.059 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003561/0.5758, allocations: 421.1 kB / 1.059 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004392/0.5762, allocations: 370.3 kB / 1.059 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001669/0.5764, allocations: 0 / 1.059 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000328/0.5767, allocations: 7.984 kB / 1.059 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.969e-05/0.5768, allocations: 4 kB / 1.059 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.5768, allocations: 4.031 kB / 1.059 GB, free: 6.426 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002329/0.5791, allocations: 2.074 MB / 1.061 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.533e-06/0.5791, allocations: 0 / 1.061 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0006555/0.5798, allocations: 247.9 kB / 1.062 GB, free: 4.102 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 (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.0007916/0.5806, allocations: 1.016 MB / 1.063 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004168/0.581, allocations: 309.8 kB / 1.063 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.581, allocations: 0 / 1.063 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.917e-05/0.5811, allocations: 47.89 kB / 1.063 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002184/0.5833, allocations: 0.7104 MB / 1.064 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01875/0.602, allocations: 18.39 MB / 1.082 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001194/0.6032, allocations: 1.8 MB / 1.083 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0007007/0.6039, allocations: 305.3 kB / 1.084 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000664/0.6046, allocations: 0.6789 MB / 1.084 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of SimCode: time 5.41e-07/0.6046, allocations: 0 / 1.084 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3809/0.9855, allocations: 43.54 MB / 1.127 GB, free: 0.5898 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.447/9.433, allocations: 25 kB / 1.127 GB, free: 0.5742 MB / 0.8731 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature_res.mat --tempDir=temp_Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature.fmu > 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/jenkins1/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