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.004789/0.004789, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001067/0.001067, allocations: 196 kB / 16.68 MB, free: 5.93 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.287/1.287, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.195/2.195, allocations: 390.3 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 63.91 kB / 0.9505 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7389/0.7402, allocations: 140.4 MB / 1.088 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.008359/0.7486, allocations: 7.869 MB / 1.095 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.009364/0.758, allocations: 5.37 MB / 1.1 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00214/0.7602, allocations: 48.5 kB / 1.101 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.005717/0.766, allocations: 1.717 MB / 1.102 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002977/0.769, allocations: 0.6532 MB / 1.103 GB, free: 10.44 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001443/0.7705, allocations: 295.6 kB / 1.103 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.004003/0.7745, allocations: 2.046 MB / 1.105 GB, free: 9.344 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001346/0.7759, allocations: 0.7104 MB / 1.106 GB, free: 9.051 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001715/0.7777, allocations: 0.7491 MB / 1.107 GB, free: 8.723 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001883/0.7796, allocations: 0.8712 MB / 1.107 GB, free: 8.301 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0004555/0.7801, allocations: 93.81 kB / 1.108 GB, free: 8.301 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001088/0.7812, allocations: 225.5 kB / 1.108 GB, free: 8.254 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0005511/0.7817, allocations: 365.9 kB / 1.108 GB, free: 8.066 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001622/0.7834, allocations: 0.8717 MB / 1.109 GB, free: 7.516 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.004332/0.7877, allocations: 2.63 MB / 1.111 GB, free: 6.535 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.7878, allocations: 0 / 1.111 GB, free: 6.535 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.124e-06/0.7878, allocations: 1.469 kB / 1.111 GB, free: 6.535 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.272e-05/0.7878, allocations: 0 / 1.111 GB, free: 6.535 MB / 0.8731 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.005048/0.7929, allocations: 2.404 MB / 1.114 GB, free: 4.965 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.7929, allocations: 10.56 kB / 1.114 GB, free: 4.965 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001333/0.7931, allocations: 89.16 kB / 1.114 GB, free: 4.898 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004443/0.7935, allocations: 210.3 kB / 1.114 GB, free: 4.789 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003734/0.7973, allocations: 1.712 MB / 1.116 GB, free: 3.895 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.031e-05/0.7973, allocations: 49.62 kB / 1.116 GB, free: 3.867 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.509e-05/0.7974, allocations: 50.22 kB / 1.116 GB, free: 3.852 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009833/0.7984, allocations: 0.5529 MB / 1.116 GB, free: 3.652 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.7985, allocations: 1.156 kB / 1.116 GB, free: 3.652 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.501e-05/0.7985, allocations: 16 kB / 1.116 GB, free: 3.641 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.7985, allocations: 11.84 kB / 1.116 GB, free: 3.641 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007722/0.7993, allocations: 0.4962 MB / 1.117 GB, free: 3.5 MB / 0.8731 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.005665/0.805, allocations: 3.242 MB / 1.12 GB, free: 1.512 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.8051, allocations: 55.62 kB / 1.12 GB, free: 1.48 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.628e-05/0.8052, allocations: 45.38 kB / 1.12 GB, free: 1.465 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.108e-05/0.8052, allocations: 0 / 1.12 GB, free: 1.465 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.8052, allocations: 36.11 kB / 1.12 GB, free: 1.422 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=1): time 1.703e-06/0.8053, allocations: 4 kB / 1.12 GB, free: 1.418 MB / 0.8731 GB Notification: Performance of matching and sorting (n=1): time 0.0007165/0.806, allocations: 355.8 kB / 1.121 GB, free: 1.25 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.806, allocations: 53.61 kB / 1.121 GB, free: 1.188 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004172/0.8102, allocations: 2.929 MB / 1.124 GB, free: 260 kB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.563e-05/0.8103, allocations: 27.11 kB / 1.124 GB, free: 228 kB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008462/0.8111, allocations: 0.9347 MB / 1.124 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.8111, allocations: 14.19 kB / 1.124 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001639/0.8113, allocations: 111.4 kB / 1.125 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.8114, allocations: 334.5 kB / 1.125 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002382/0.8117, allocations: 152.9 kB / 1.125 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004309/0.8121, allocations: 469.6 kB / 1.125 GB, free: 14.6 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006093/0.8127, allocations: 0.6007 MB / 1.126 GB, free: 14.06 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.397e-06/0.8127, allocations: 2.719 kB / 1.126 GB, free: 14.06 MB / 0.8887 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001328/0.8141, allocations: 0.766 MB / 1.127 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.8141, allocations: 10.16 kB / 1.127 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/0.8141, allocations: 12.2 kB / 1.127 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.972e-05/0.8142, allocations: 13.81 kB / 1.127 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003315/0.8145, allocations: 108.2 kB / 1.127 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-05/0.8145, allocations: 24.33 kB / 1.127 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009961/0.8155, allocations: 93.62 kB / 1.127 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.854e-05/0.8156, allocations: 28.84 kB / 1.127 GB, free: 13.64 MB / 0.8887 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.001123/0.8167, allocations: 0.7294 MB / 1.128 GB, free: 13.32 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003213/0.817, allocations: 206.5 kB / 1.128 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004018/0.8175, allocations: 224.1 kB / 1.128 GB, free: 13.13 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.8175, allocations: 1 kB / 1.128 GB, free: 13.13 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.8175, allocations: 0 / 1.128 GB, free: 13.13 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.8175, allocations: 0.6094 kB / 1.128 GB, free: 13.13 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001586/0.8191, allocations: 0.9396 MB / 1.129 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.8191, allocations: 4 kB / 1.129 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.653e-05/0.8192, allocations: 3.438 kB / 1.129 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.8192, allocations: 3.938 kB / 1.129 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.8192, allocations: 3.938 kB / 1.129 GB, free: 12.67 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.8192, allocations: 4 kB / 1.129 GB, free: 12.67 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.8192, allocations: 5.906 kB / 1.129 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004964/0.8197, allocations: 419.6 kB / 1.13 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006933/0.8204, allocations: 361.6 kB / 1.13 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002128/0.8206, allocations: 1.812 kB / 1.13 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003819/0.821, allocations: 1.969 kB / 1.13 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.475e-05/0.8211, allocations: 1.516 kB / 1.13 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.8211, allocations: 4.031 kB / 1.13 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.003445/0.8245, allocations: 2.062 MB / 1.132 GB, free: 11.46 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.51e-07/0.8245, allocations: 0 / 1.132 GB, free: 11.46 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001351/0.8259, allocations: 245.7 kB / 1.132 GB, free: 11.45 MB / 0.8887 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.00114/0.827, allocations: 1.02 MB / 1.133 GB, free: 10.63 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0006104/0.8277, allocations: 312.5 kB / 1.133 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.8277, allocations: 1.062 kB / 1.133 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 7.07e-05/0.8278, allocations: 40.64 kB / 1.133 GB, free: 10.53 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003233/0.831, allocations: 0.7167 MB / 1.134 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02969/0.8607, allocations: 16.24 MB / 1.15 GB, free: 3.695 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001736/0.8625, allocations: 1.807 MB / 1.152 GB, free: 2.543 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001123/0.8636, allocations: 306.9 kB / 1.152 GB, free: 2.434 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009157/0.8646, allocations: 0.6779 MB / 1.153 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of SimCode: time 9.32e-07/0.8646, allocations: 0 / 1.153 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4993/1.364, allocations: 44.02 MB / 1.196 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/12.45, allocations: 3.938 kB / 1.196 GB, free: 14.66 MB / 0.9356 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