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: "" <> 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.001137/0.001137, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001172/0.001172, allocations: 192.3 kB / 16.14 MB, free: 6.711 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.155/1.155, allocations: 222.9 MB / 239.8 MB, free: 4.602 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.185/2.185, allocations: 437 MB / 0.7099 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 63.91 kB / 0.8687 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4814/0.4827, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.008193/0.4909, allocations: 7.808 MB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006799/0.4977, allocations: 5.317 MB / 1.03 GB, free: 5.602 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007853/0.4985, allocations: 43.75 kB / 1.03 GB, free: 5.559 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003851/0.5024, allocations: 1.606 MB / 1.031 GB, free: 3.945 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001205/0.5037, allocations: 0.5743 MB / 1.032 GB, free: 3.367 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007472/0.5044, allocations: 263.6 kB / 1.032 GB, free: 3.109 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.002181/0.5066, allocations: 2.331 MB / 1.034 GB, free: 0.7695 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007107/0.5073, allocations: 0.6399 MB / 1.035 GB, free: 112 kB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008008/0.5082, allocations: 0.7151 MB / 1.036 GB, free: 15.39 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000903/0.5091, allocations: 0.8746 MB / 1.036 GB, free: 14.51 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001483/0.5092, allocations: 80 kB / 1.036 GB, free: 14.43 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004741/0.5097, allocations: 195.8 kB / 1.037 GB, free: 14.24 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0003116/0.51, allocations: 350.5 kB / 1.037 GB, free: 13.9 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0007445/0.5108, allocations: 0.8621 MB / 1.038 GB, free: 13.03 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001803/0.5126, allocations: 2.246 MB / 1.04 GB, free: 10.78 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.5126, allocations: 0 / 1.04 GB, free: 10.78 MB / 0.795 GB Notification: Performance of FrontEnd: time 9.41e-07/0.5126, allocations: 0 / 1.04 GB, free: 10.78 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.003e-05/0.5126, allocations: 0 / 1.04 GB, free: 10.78 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.002878/0.5155, allocations: 2.304 MB / 1.042 GB, free: 8.406 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.5156, allocations: 12.03 kB / 1.042 GB, free: 8.395 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.079e-05/0.5157, allocations: 90.7 kB / 1.042 GB, free: 8.297 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002492/0.5159, allocations: 218.2 kB / 1.043 GB, free: 8.082 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002166/0.5181, allocations: 1.603 MB / 1.044 GB, free: 6.41 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.315e-05/0.5182, allocations: 37 kB / 1.044 GB, free: 6.371 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.059e-05/0.5182, allocations: 52 kB / 1.044 GB, free: 6.32 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008298/0.5191, allocations: 0.5568 MB / 1.045 GB, free: 5.758 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.5191, allocations: 4 kB / 1.045 GB, free: 5.754 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.187e-05/0.5192, allocations: 23.98 kB / 1.045 GB, free: 5.73 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.5192, allocations: 12 kB / 1.045 GB, free: 5.719 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007316/0.5199, allocations: 0.4957 MB / 1.045 GB, free: 5.223 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.004126/0.524, allocations: 3.255 MB / 1.048 GB, free: 1.723 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 8.721e-05/0.5241, allocations: 50.55 kB / 1.049 GB, free: 1.664 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.763e-05/0.5242, allocations: 52.88 kB / 1.049 GB, free: 1.609 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.5242, allocations: 4 kB / 1.049 GB, free: 1.605 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.5243, allocations: 34.55 kB / 1.049 GB, free: 1.562 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 1.703e-06/0.5243, allocations: 0 / 1.049 GB, free: 1.562 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.000526/0.5248, allocations: 358.9 kB / 1.049 GB, free: 1.203 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.5249, allocations: 55.41 kB / 1.049 GB, free: 1.137 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003346/0.5282, allocations: 2.951 MB / 1.052 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.5282, allocations: 25.7 kB / 1.052 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008082/0.5291, allocations: 0.9427 MB / 1.053 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.571e-05/0.5291, allocations: 11.89 kB / 1.053 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.5292, allocations: 114.1 kB / 1.053 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.5293, allocations: 333.9 kB / 1.053 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002047/0.5296, allocations: 157 kB / 1.053 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004214/0.53, allocations: 469.2 kB / 1.054 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005823/0.5306, allocations: 0.602 MB / 1.054 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.5306, allocations: 4 kB / 1.054 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009638/0.5316, allocations: 0.7725 MB / 1.055 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.5316, allocations: 12 kB / 1.055 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.5316, allocations: 8 kB / 1.055 GB, free: 10.42 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.5316, allocations: 16 kB / 1.055 GB, free: 10.4 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002968/0.5319, allocations: 99.84 kB / 1.055 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-05/0.532, allocations: 27.86 kB / 1.055 GB, free: 10.28 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005744/0.5325, allocations: 91.11 kB / 1.055 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.018e-05/0.5326, allocations: 31.94 kB / 1.056 GB, free: 10.16 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.0007328/0.5333, allocations: 0.7353 MB / 1.056 GB, free: 9.41 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001904/0.5335, allocations: 205.4 kB / 1.056 GB, free: 9.207 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002788/0.5338, allocations: 223.8 kB / 1.057 GB, free: 8.98 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.5338, allocations: 0 / 1.057 GB, free: 8.98 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.5338, allocations: 0 / 1.057 GB, free: 8.98 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.5338, allocations: 4 kB / 1.057 GB, free: 8.977 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009349/0.5348, allocations: 0.947 MB / 1.058 GB, free: 7.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.5348, allocations: 0 / 1.058 GB, free: 7.98 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.182e-05/0.5348, allocations: 4 kB / 1.058 GB, free: 7.977 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.5348, allocations: 0 / 1.058 GB, free: 7.977 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.5349, allocations: 0 / 1.058 GB, free: 7.977 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.5349, allocations: 3.938 kB / 1.058 GB, free: 7.973 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5349, allocations: 0 / 1.058 GB, free: 7.973 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003677/0.5352, allocations: 429 kB / 1.058 GB, free: 7.535 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004518/0.5357, allocations: 362.4 kB / 1.058 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001727/0.5359, allocations: 0 / 1.058 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003361/0.5362, allocations: 11.92 kB / 1.058 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.705e-05/0.5362, allocations: 0 / 1.058 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.5362, allocations: 0 / 1.058 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002419/0.5387, allocations: 2.078 MB / 1.06 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5387, allocations: 0 / 1.06 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0006785/0.5394, allocations: 243.9 kB / 1.061 GB, free: 4.824 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.0008271/0.5402, allocations: 1.028 MB / 1.062 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004243/0.5406, allocations: 305.8 kB / 1.062 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.5406, allocations: 4 kB / 1.062 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.323e-05/0.5407, allocations: 44.52 kB / 1.062 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002331/0.5431, allocations: 0.6591 MB / 1.063 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02553/0.5686, allocations: 18.68 MB / 1.081 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001316/0.5699, allocations: 1.804 MB / 1.083 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000856/0.5708, allocations: 297.3 kB / 1.083 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007352/0.5716, allocations: 0.6789 MB / 1.084 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of SimCode: time 1.113e-06/0.5716, allocations: 0 / 1.084 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.755/2.327, allocations: 42.49 MB / 1.125 GB, free: 2.105 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002509/2.327, allocations: 278.1 kB / 1.125 GB, free: 1.734 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.928/6.255, allocations: 3.5 kB / 1.125 GB, free: 1.734 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