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.001242/0.001242, 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.001276/0.001276, allocations: 197 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.285/1.285, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.221/2.221, allocations: 390.2 MB / 0.6647 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001492, allocations: 63.91 kB / 0.8126 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.511/0.5125, allocations: 140.4 MB / 0.9497 GB, free: 9.371 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.006615/0.5192, allocations: 7.856 MB / 0.9574 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007569/0.5267, allocations: 5.376 MB / 0.9626 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001851/0.5286, allocations: 45.56 kB / 0.9627 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.007133/0.5358, allocations: 1.715 MB / 0.9644 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003026/0.5389, allocations: 0.6479 MB / 0.965 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.5403, allocations: 304.7 kB / 0.9653 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003546/0.5438, allocations: 2.024 MB / 0.9673 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001458/0.5453, allocations: 0.7053 MB / 0.968 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001637/0.547, allocations: 0.7543 MB / 0.9687 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002075/0.5491, allocations: 0.8763 MB / 0.9695 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0004908/0.5496, allocations: 99.88 kB / 0.9696 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001117/0.5507, allocations: 216 kB / 0.9698 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0007077/0.5514, allocations: 372.5 kB / 0.9702 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001994/0.5534, allocations: 0.8722 MB / 0.9711 GB, free: 9.449 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003848/0.5573, allocations: 2.398 MB / 0.9734 GB, free: 7.867 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.5573, allocations: 0 / 0.9734 GB, free: 7.867 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.834e-06/0.5573, allocations: 1.062 kB / 0.9734 GB, free: 7.867 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.823e-05/0.5574, allocations: 0 / 0.9734 GB, free: 7.867 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.005279/0.5627, allocations: 2.35 MB / 0.9757 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.5627, allocations: 9.594 kB / 0.9757 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001577/0.5629, allocations: 93.48 kB / 0.9758 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004725/0.5634, allocations: 220 kB / 0.976 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004057/0.5674, allocations: 1.607 MB / 0.9776 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.935e-05/0.5675, allocations: 38.09 kB / 0.9776 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.5676, allocations: 49.72 kB / 0.9777 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001469/0.5691, allocations: 0.5523 MB / 0.9782 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.5692, allocations: 1.125 kB / 0.9782 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.586e-05/0.5692, allocations: 24.03 kB / 0.9782 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/0.5693, allocations: 10.75 kB / 0.9782 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001384/0.5707, allocations: 0.5024 MB / 0.9787 GB, free: 4.035 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.007314/0.578, allocations: 3.262 MB / 0.9819 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.5782, allocations: 58.53 kB / 0.982 GB, free: 468 kB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.5783, allocations: 48.88 kB / 0.982 GB, free: 416 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.5783, allocations: 0 / 0.982 GB, free: 416 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.5784, allocations: 38.5 kB / 0.982 GB, free: 368 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 2.014e-06/0.5784, allocations: 0 / 0.982 GB, free: 368 kB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0008875/0.5793, allocations: 358.9 kB / 0.9824 GB, free: 0 / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.759e-05/0.5794, allocations: 51.41 kB / 0.9824 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006362/0.5858, allocations: 2.951 MB / 0.9853 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.535e-05/0.5858, allocations: 33.83 kB / 0.9853 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001466/0.5873, allocations: 0.9386 MB / 0.9863 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.781e-05/0.5873, allocations: 11.98 kB / 0.9863 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002595/0.5876, allocations: 114 kB / 0.9864 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001815/0.5878, allocations: 337.8 kB / 0.9867 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004195/0.5882, allocations: 149 kB / 0.9868 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008058/0.5891, allocations: 481.2 kB / 0.9873 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/0.5903, allocations: 0.5942 MB / 0.9879 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/0.5903, allocations: 4 kB / 0.9879 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001941/0.5922, allocations: 0.757 MB / 0.9886 GB, free: 9.246 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.5923, allocations: 12 kB / 0.9886 GB, free: 9.234 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.5923, allocations: 8 kB / 0.9886 GB, free: 9.227 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.802e-05/0.5924, allocations: 16 kB / 0.9887 GB, free: 9.211 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006119/0.593, allocations: 111.8 kB / 0.9888 GB, free: 9.102 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.476e-05/0.593, allocations: 23.92 kB / 0.9888 GB, free: 9.078 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/0.5943, allocations: 95.06 kB / 0.9889 GB, free: 8.984 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.867e-05/0.5944, allocations: 28 kB / 0.9889 GB, free: 8.957 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.001453/0.5958, allocations: 0.7353 MB / 0.9896 GB, free: 8.211 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003792/0.5962, allocations: 201.4 kB / 0.9898 GB, free: 8.012 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005001/0.5967, allocations: 223.8 kB / 0.99 GB, free: 7.785 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.5968, allocations: 0 / 0.99 GB, free: 7.785 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.5968, allocations: 3.938 kB / 0.99 GB, free: 7.781 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.5968, allocations: 0 / 0.99 GB, free: 7.781 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001886/0.5987, allocations: 0.9509 MB / 0.991 GB, free: 6.781 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.5987, allocations: 3.938 kB / 0.991 GB, free: 6.777 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.694e-05/0.5988, allocations: 4 kB / 0.991 GB, free: 6.773 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.5988, allocations: 0 / 0.991 GB, free: 6.773 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.5988, allocations: 0 / 0.991 GB, free: 6.773 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.5989, allocations: 0 / 0.991 GB, free: 6.773 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.5989, allocations: 3.984 kB / 0.991 GB, free: 6.77 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005018/0.5994, allocations: 417.1 kB / 0.9914 GB, free: 6.344 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005239/0.5999, allocations: 370.4 kB / 0.9917 GB, free: 5.961 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002176/0.6001, allocations: 4 kB / 0.9917 GB, free: 5.957 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003628/0.6005, allocations: 0 / 0.9917 GB, free: 5.957 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.163e-05/0.6005, allocations: 3.984 kB / 0.9917 GB, free: 5.953 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.6006, allocations: 0 / 0.9917 GB, free: 5.953 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002808/0.6034, allocations: 2.082 MB / 0.9938 GB, free: 3.863 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6034, allocations: 0 / 0.9938 GB, free: 3.863 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008685/0.6042, allocations: 247.8 kB / 0.994 GB, free: 3.621 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.001164/0.6054, allocations: 1.017 MB / 0.995 GB, free: 2.586 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000463/0.6059, allocations: 310.2 kB / 0.9953 GB, free: 2.285 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.6059, allocations: 3.938 kB / 0.9953 GB, free: 2.281 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 6.88e-05/0.606, allocations: 39.97 kB / 0.9953 GB, free: 2.242 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002436/0.6084, allocations: 0.7242 MB / 0.996 GB, free: 1.531 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02214/0.6306, allocations: 18.39 MB / 1.014 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0014/0.632, allocations: 1.804 MB / 1.016 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0008179/0.6328, allocations: 301.3 kB / 1.016 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007418/0.6336, allocations: 0.6789 MB / 1.017 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of SimCode: time 7.92e-07/0.6336, allocations: 0 / 1.017 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06824/0.7018, allocations: 43.53 MB / 1.059 GB, free: 120 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.733/8.435, allocations: 7.609 kB / 1.059 GB, free: 112 kB / 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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