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.000917/0.0009171, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005505/0.005505, allocations: 169 kB / 16.26 MB, free: 6.652 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.241/1.241, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.338/2.338, allocations: 437.8 MB / 0.7121 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003241/0.0003241, allocations: 11.98 kB / 0.873 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5688/0.5692, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.007392/0.5766, allocations: 7.361 MB / 1.03 GB, free: 8.461 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006947/0.5836, allocations: 5.259 MB / 1.035 GB, free: 3.184 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001325/0.5849, allocations: 35.81 kB / 1.035 GB, free: 3.148 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.004237/0.5892, allocations: 1.606 MB / 1.037 GB, free: 1.535 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001744/0.591, allocations: 0.5743 MB / 1.038 GB, free: 0.957 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000853/0.5918, allocations: 263.5 kB / 1.038 GB, free: 0.7031 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.002613/0.5945, allocations: 2.345 MB / 1.04 GB, free: 14.35 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007297/0.5952, allocations: 0.6438 MB / 1.041 GB, free: 13.69 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007939/0.596, allocations: 0.6916 MB / 1.041 GB, free: 12.99 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008448/0.5969, allocations: 0.8551 MB / 1.042 GB, free: 12.13 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001184/0.597, allocations: 72 kB / 1.042 GB, free: 12.06 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004306/0.5974, allocations: 179.8 kB / 1.043 GB, free: 11.89 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0002775/0.5977, allocations: 334.5 kB / 1.043 GB, free: 11.56 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0006562/0.5984, allocations: 0.8599 MB / 1.044 GB, free: 10.69 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001631/0.6, allocations: 2.203 MB / 1.046 GB, free: 8.477 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.6, allocations: 0 / 1.046 GB, free: 8.477 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.343e-06/0.6, allocations: 0 / 1.046 GB, free: 8.477 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.517e-05/0.6001, allocations: 4 kB / 1.046 GB, free: 8.473 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.002455/0.6025, allocations: 2.013 MB / 1.048 GB, free: 6.395 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.6026, allocations: 8.031 kB / 1.048 GB, free: 6.387 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.858e-05/0.6027, allocations: 94.7 kB / 1.048 GB, free: 6.285 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002212/0.6029, allocations: 210.3 kB / 1.048 GB, free: 6.078 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002046/0.6049, allocations: 1.603 MB / 1.05 GB, free: 4.406 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.043e-05/0.605, allocations: 41 kB / 1.05 GB, free: 4.363 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.952e-05/0.6051, allocations: 48 kB / 1.05 GB, free: 4.316 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007982/0.6059, allocations: 0.5569 MB / 1.05 GB, free: 3.754 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.6059, allocations: 0 / 1.05 GB, free: 3.754 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.015e-05/0.6059, allocations: 20 kB / 1.05 GB, free: 3.734 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.6059, allocations: 12 kB / 1.05 GB, free: 3.723 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000693/0.6066, allocations: 0.4995 MB / 1.051 GB, free: 3.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.003781/0.6104, allocations: 3.294 MB / 1.054 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.96e-05/0.6105, allocations: 66.53 kB / 1.054 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.697e-05/0.6106, allocations: 48.88 kB / 1.054 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.6106, allocations: 0 / 1.054 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.6106, allocations: 38.44 kB / 1.054 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.6107, allocations: 0 / 1.054 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.000462/0.6111, allocations: 358.9 kB / 1.055 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.6112, allocations: 51.41 kB / 1.055 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003371/0.6145, allocations: 2.954 MB / 1.057 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.6146, allocations: 25.7 kB / 1.057 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007724/0.6154, allocations: 0.9426 MB / 1.058 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.479e-05/0.6154, allocations: 15.89 kB / 1.058 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.654e-05/0.6154, allocations: 45.7 kB / 1.058 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.6155, allocations: 333.9 kB / 1.059 GB, free: 10.74 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002249/0.6158, allocations: 145 kB / 1.059 GB, free: 10.6 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004116/0.6162, allocations: 473.2 kB / 1.059 GB, free: 9.992 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005731/0.6168, allocations: 0.5981 MB / 1.06 GB, free: 9.246 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.6168, allocations: 8 kB / 1.06 GB, free: 9.238 MB / 0.8106 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009599/0.6178, allocations: 0.7609 MB / 1.061 GB, free: 8.469 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.6178, allocations: 15.98 kB / 1.061 GB, free: 8.453 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.6178, allocations: 12 kB / 1.061 GB, free: 8.441 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.6178, allocations: 16 kB / 1.061 GB, free: 8.426 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003053/0.6181, allocations: 103.8 kB / 1.061 GB, free: 8.324 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.732e-05/0.6182, allocations: 19.92 kB / 1.061 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005888/0.6188, allocations: 98.97 kB / 1.061 GB, free: 8.207 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.06e-05/0.6188, allocations: 28 kB / 1.061 GB, free: 8.18 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.0007335/0.6195, allocations: 0.7353 MB / 1.062 GB, free: 7.434 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000192/0.6197, allocations: 209.4 kB / 1.062 GB, free: 7.227 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002766/0.62, allocations: 215.8 kB / 1.062 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.62, allocations: 0 / 1.062 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.62, allocations: 0 / 1.062 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.62, allocations: 8 kB / 1.062 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000936/0.621, allocations: 0.947 MB / 1.063 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.621, allocations: 3.938 kB / 1.063 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.779e-05/0.621, allocations: 0 / 1.063 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.621, allocations: 4 kB / 1.063 GB, free: 6 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.6211, allocations: 4 kB / 1.063 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.6211, allocations: 0 / 1.063 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.6211, allocations: 0 / 1.063 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003489/0.6214, allocations: 421.1 kB / 1.063 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004315/0.6219, allocations: 366.4 kB / 1.064 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001532/0.622, allocations: 0 / 1.064 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003419/0.6224, allocations: 7.984 kB / 1.064 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.753e-05/0.6224, allocations: 4 kB / 1.064 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-06/0.6224, allocations: 0 / 1.064 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002403/0.6248, allocations: 2.074 MB / 1.066 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6248, allocations: 0 / 1.066 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0006678/0.6255, allocations: 243.9 kB / 1.066 GB, free: 2.855 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.0008064/0.6263, allocations: 1.029 MB / 1.067 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004194/0.6267, allocations: 309.9 kB / 1.067 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.6267, allocations: 0 / 1.067 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.611e-05/0.6268, allocations: 39.95 kB / 1.067 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002407/0.6292, allocations: 0.6587 MB / 1.068 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0249/0.6541, allocations: 18.73 MB / 1.086 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001231/0.6554, allocations: 1.804 MB / 1.088 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0007976/0.6562, allocations: 301.3 kB / 1.088 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006856/0.6569, allocations: 0.6789 MB / 1.089 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of SimCode: time 7.51e-07/0.6569, allocations: 0 / 1.089 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.462/2.119, allocations: 42.1 MB / 1.13 GB, free: 496 kB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000264/2.12, allocations: 273.3 kB / 1.13 GB, free: 128 kB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.64/4.759, allocations: 0 / 1.13 GB, free: 128 kB / 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