Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature,fileNamePrefix="Buildings_9_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.001283/0.001283, 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.00128/0.00128, allocations: 196 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.284/1.284, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.144/2.144, allocations: 390.2 MB / 0.6643 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 68.06 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5036/0.5051, allocations: 140.4 MB / 0.949 GB, free: 9.277 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.007625/0.5128, allocations: 7.807 MB / 0.9567 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008032/0.5209, allocations: 5.316 MB / 0.9619 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00128/0.5222, allocations: 43.31 kB / 0.9619 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004091/0.5263, allocations: 1.599 MB / 0.9635 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001408/0.5277, allocations: 0.5858 MB / 0.964 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000687/0.5284, allocations: 256.4 kB / 0.9643 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002231/0.5307, allocations: 2.338 MB / 0.9666 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007771/0.5315, allocations: 0.6382 MB / 0.9672 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009112/0.5324, allocations: 0.7198 MB / 0.9679 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009526/0.5333, allocations: 0.8745 MB / 0.9687 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001611/0.5335, allocations: 78.47 kB / 0.9688 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004862/0.534, allocations: 201.5 kB / 0.969 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000335/0.5343, allocations: 342.7 kB / 0.9693 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007826/0.5351, allocations: 0.8595 MB / 0.9702 GB, free: 9.625 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001807/0.5369, allocations: 2.238 MB / 0.9724 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.537, allocations: 4 kB / 0.9724 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.62e-07/0.537, allocations: 0 / 0.9724 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.965e-05/0.537, allocations: 1.25 kB / 0.9724 GB, free: 8.125 MB / 0.7325 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.003146/0.5401, allocations: 2.305 MB / 0.9746 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.5402, allocations: 9.219 kB / 0.9746 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.73e-05/0.5403, allocations: 93.95 kB / 0.9747 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000251/0.5405, allocations: 219.6 kB / 0.9749 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002146/0.5427, allocations: 1.599 MB / 0.9765 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.111e-05/0.5427, allocations: 42.97 kB / 0.9765 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.992e-05/0.5428, allocations: 49.53 kB / 0.9766 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008486/0.5437, allocations: 0.5524 MB / 0.9771 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.5437, allocations: 1.5 kB / 0.9771 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.404e-05/0.5437, allocations: 19.12 kB / 0.9771 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.5438, allocations: 11.56 kB / 0.9771 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007244/0.5445, allocations: 0.5001 MB / 0.9776 GB, free: 4.488 MB / 0.7325 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.003973/0.5485, allocations: 3.267 MB / 0.9808 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.571e-05/0.5486, allocations: 62.53 kB / 0.9809 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.38e-05/0.5486, allocations: 48.88 kB / 0.9809 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.5487, allocations: 3.938 kB / 0.9809 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.5487, allocations: 34.5 kB / 0.981 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.5487, allocations: 0 / 0.981 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0004627/0.5492, allocations: 351 kB / 0.9813 GB, free: 0.6602 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.5492, allocations: 67.45 kB / 0.9814 GB, free: 0.582 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003355/0.5526, allocations: 2.951 MB / 0.9842 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.5526, allocations: 29.7 kB / 0.9843 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008166/0.5534, allocations: 0.9386 MB / 0.9852 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 1.258e-05/0.5534, allocations: 4 kB / 0.9852 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/0.5536, allocations: 122 kB / 0.9853 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.5537, allocations: 325.9 kB / 0.9856 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002159/0.5539, allocations: 157 kB / 0.9858 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00041/0.5543, allocations: 469.2 kB / 0.9862 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005871/0.5549, allocations: 0.6098 MB / 0.9868 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.5549, allocations: 4 kB / 0.9868 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009725/0.5559, allocations: 0.7605 MB / 0.9876 GB, free: 9.891 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.5559, allocations: 8 kB / 0.9876 GB, free: 9.883 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.556, allocations: 12 kB / 0.9876 GB, free: 9.871 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.556, allocations: 12 kB / 0.9876 GB, free: 9.859 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002979/0.5563, allocations: 111.8 kB / 0.9877 GB, free: 9.75 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.765e-05/0.5563, allocations: 15.94 kB / 0.9877 GB, free: 9.734 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005826/0.5569, allocations: 95.45 kB / 0.9878 GB, free: 9.641 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.177e-05/0.5569, allocations: 28 kB / 0.9878 GB, free: 9.613 MB / 0.7481 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.0007411/0.5577, allocations: 0.7392 MB / 0.9886 GB, free: 8.863 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002013/0.5579, allocations: 201.4 kB / 0.9887 GB, free: 8.664 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002717/0.5582, allocations: 227.8 kB / 0.989 GB, free: 8.434 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.5582, allocations: 0 / 0.989 GB, free: 8.434 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.5582, allocations: 0 / 0.989 GB, free: 8.434 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.5582, allocations: 3.984 kB / 0.989 GB, free: 8.43 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009868/0.5592, allocations: 0.947 MB / 0.9899 GB, free: 7.434 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.5592, allocations: 3.938 kB / 0.9899 GB, free: 7.43 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.341e-05/0.5593, allocations: 4 kB / 0.9899 GB, free: 7.426 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.5593, allocations: 0 / 0.9899 GB, free: 7.426 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.5593, allocations: 0 / 0.9899 GB, free: 7.426 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.5593, allocations: 3.984 kB / 0.9899 GB, free: 7.422 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5593, allocations: 8 kB / 0.9899 GB, free: 7.414 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003701/0.5597, allocations: 417.1 kB / 0.9903 GB, free: 6.988 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004587/0.5601, allocations: 366.4 kB / 0.9907 GB, free: 6.609 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000178/0.5603, allocations: 0 / 0.9907 GB, free: 6.609 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003454/0.5607, allocations: 0 / 0.9907 GB, free: 6.609 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.649e-05/0.5607, allocations: 0 / 0.9907 GB, free: 6.609 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.5607, allocations: 4 kB / 0.9907 GB, free: 6.605 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002471/0.5632, allocations: 2.078 MB / 0.9927 GB, free: 4.52 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5632, allocations: 0 / 0.9927 GB, free: 4.52 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007171/0.5639, allocations: 251.8 kB / 0.9929 GB, free: 4.273 MB / 0.7481 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.0008468/0.5648, allocations: 1.023 MB / 0.9939 GB, free: 3.23 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004147/0.5652, allocations: 306.2 kB / 0.9942 GB, free: 2.934 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5652, allocations: 4.062 kB / 0.9942 GB, free: 2.93 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 6.027e-05/0.5653, allocations: 43.97 kB / 0.9943 GB, free: 2.887 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002371/0.5676, allocations: 0.6554 MB / 0.9949 GB, free: 2.234 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02544/0.5931, allocations: 18.69 MB / 1.013 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001366/0.5945, allocations: 1.804 MB / 1.015 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0007622/0.5952, allocations: 297.3 kB / 1.015 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000733/0.596, allocations: 0.6789 MB / 1.016 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.596, allocations: 0 / 1.016 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4045/1.001, allocations: 42.49 MB / 1.057 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003458/1.001, allocations: 268.8 kB / 1.058 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.527/3.528, allocations: 4 kB / 1.058 GB, free: 1.203 MB / 0.8106 GB (rm -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature.fmu > Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches