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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001184/0.001184, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001162/0.001162, allocations: 193.5 kB / 16.25 MB, free: 6.152 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.219/1.219, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.104/2.104, allocations: 390.2 MB / 0.6644 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 59.91 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.509/0.5102, allocations: 140.4 MB / 0.9492 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.0076/0.5178, allocations: 7.804 MB / 0.9569 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007463/0.5253, allocations: 5.291 MB / 0.962 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001595/0.5269, allocations: 42.62 kB / 0.9621 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005135/0.5321, allocations: 1.637 MB / 0.9637 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002198/0.5343, allocations: 0.5725 MB / 0.9642 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001119/0.5355, allocations: 286.6 kB / 0.9645 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003131/0.5386, allocations: 2.045 MB / 0.9665 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0011/0.5397, allocations: 0.694 MB / 0.9672 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001472/0.5412, allocations: 0.7822 MB / 0.9679 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001753/0.543, allocations: 0.8916 MB / 0.9688 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000485/0.5435, allocations: 96.06 kB / 0.9689 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001074/0.5446, allocations: 216.3 kB / 0.9691 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006393/0.5452, allocations: 361.1 kB / 0.9694 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001408/0.5467, allocations: 0.8794 MB / 0.9703 GB, free: 9.57 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002383/0.549, allocations: 2.395 MB / 0.9726 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.5491, allocations: 5.062 kB / 0.9726 GB, free: 7.988 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5491, allocations: 0 / 0.9726 GB, free: 7.988 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.08e-05/0.5491, allocations: 0 / 0.9726 GB, free: 7.988 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.003385/0.5525, allocations: 2.355 MB / 0.9749 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.5525, allocations: 9.625 kB / 0.975 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.619e-05/0.5526, allocations: 88.78 kB / 0.975 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002923/0.5529, allocations: 220 kB / 0.9752 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002428/0.5554, allocations: 1.606 MB / 0.9768 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.687e-05/0.5554, allocations: 42.06 kB / 0.9769 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8e-05/0.5555, allocations: 50.16 kB / 0.9769 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009065/0.5564, allocations: 0.5533 MB / 0.9774 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.5564, allocations: 0 / 0.9774 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.931e-05/0.5565, allocations: 15.94 kB / 0.9775 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.5565, allocations: 11.72 kB / 0.9775 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007453/0.5573, allocations: 0.496 MB / 0.978 GB, free: 4.328 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.004198/0.5615, allocations: 3.272 MB / 0.9812 GB, free: 0.832 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.274e-05/0.5616, allocations: 54.53 kB / 0.9812 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.194e-05/0.5617, allocations: 44.88 kB / 0.9812 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.5617, allocations: 4 kB / 0.9813 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.5617, allocations: 34.56 kB / 0.9813 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.253e-06/0.5617, allocations: 0 / 0.9813 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0005042/0.5622, allocations: 362.9 kB / 0.9816 GB, free: 320 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.5623, allocations: 55.53 kB / 0.9817 GB, free: 252 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003485/0.5657, allocations: 2.954 MB / 0.9846 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.5658, allocations: 25.7 kB / 0.9846 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000821/0.5666, allocations: 0.9347 MB / 0.9855 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 1.495e-05/0.5666, allocations: 11.98 kB / 0.9855 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001619/0.5668, allocations: 118 kB / 0.9856 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.5669, allocations: 329.9 kB / 0.9859 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002162/0.5671, allocations: 156.9 kB / 0.9861 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004239/0.5676, allocations: 477.2 kB / 0.9865 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005974/0.5682, allocations: 0.598 MB / 0.9871 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.5682, allocations: 4 kB / 0.9871 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009851/0.5692, allocations: 0.7566 MB / 0.9879 GB, free: 9.559 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.5692, allocations: 13.88 kB / 0.9879 GB, free: 9.547 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.5692, allocations: 8 kB / 0.9879 GB, free: 9.539 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.5693, allocations: 16 kB / 0.9879 GB, free: 9.523 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003232/0.5696, allocations: 103.8 kB / 0.988 GB, free: 9.422 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.035e-05/0.5696, allocations: 27.86 kB / 0.988 GB, free: 9.395 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007017/0.5703, allocations: 95.5 kB / 0.9881 GB, free: 9.301 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-05/0.5704, allocations: 31.94 kB / 0.9882 GB, free: 9.27 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.0007667/0.5711, allocations: 0.7353 MB / 0.9889 GB, free: 8.523 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002115/0.5714, allocations: 209.4 kB / 0.9891 GB, free: 8.316 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002835/0.5717, allocations: 223.8 kB / 0.9893 GB, free: 8.09 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.5717, allocations: 0 / 0.9893 GB, free: 8.09 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.5717, allocations: 0 / 0.9893 GB, free: 8.09 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-06/0.5717, allocations: 0 / 0.9893 GB, free: 8.09 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.5727, allocations: 0.9469 MB / 0.9902 GB, free: 7.094 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5727, allocations: 0 / 0.9902 GB, free: 7.094 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.402e-05/0.5728, allocations: 7.984 kB / 0.9902 GB, free: 7.086 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.5728, allocations: 0 / 0.9902 GB, free: 7.086 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.5728, allocations: 0 / 0.9902 GB, free: 7.086 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.5728, allocations: 3.938 kB / 0.9902 GB, free: 7.082 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5728, allocations: 4 kB / 0.9902 GB, free: 7.078 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000383/0.5732, allocations: 421.1 kB / 0.9906 GB, free: 6.648 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004956/0.5737, allocations: 362.4 kB / 0.991 GB, free: 6.273 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001826/0.5739, allocations: 0 / 0.991 GB, free: 6.273 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003493/0.5742, allocations: 8 kB / 0.991 GB, free: 6.266 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.032e-05/0.5743, allocations: 0 / 0.991 GB, free: 6.266 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/0.5743, allocations: 0 / 0.991 GB, free: 6.266 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002503/0.5768, allocations: 2.086 MB / 0.993 GB, free: 4.172 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.81e-07/0.5768, allocations: 0 / 0.993 GB, free: 4.172 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007499/0.5775, allocations: 243.8 kB / 0.9933 GB, free: 3.934 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.0009356/0.5785, allocations: 1.029 MB / 0.9943 GB, free: 2.883 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004676/0.579, allocations: 306.2 kB / 0.9946 GB, free: 2.586 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.579, allocations: 4.062 kB / 0.9946 GB, free: 2.582 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 6.321e-05/0.579, allocations: 51.89 kB / 0.9946 GB, free: 2.531 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002469/0.5815, allocations: 0.7189 MB / 0.9953 GB, free: 1.832 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02711/0.6086, allocations: 18.99 MB / 1.014 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001293/0.61, allocations: 1.804 MB / 1.016 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0009615/0.611, allocations: 347 kB / 1.016 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007416/0.6117, allocations: 0.6906 MB / 1.017 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of SimCode: time 1.012e-06/0.6117, allocations: 0 / 1.017 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07024/0.682, allocations: 44.18 MB / 1.06 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002273/0.6822, allocations: 278.8 kB / 1.06 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.419/3.101, allocations: 0 / 1.06 GB, free: 14.76 MB / 0.8262 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