Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature,fileNamePrefix="Buildings_latest_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.0007833/0.0007833, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005005/0.005005, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.248/1.248, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.487/2.487, allocations: 462.7 MB / 0.7364 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003871/0.0003867, allocations: 13.84 kB / 0.9029 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2475, allocations: 159.6 MB / 1.059 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.007145/0.2547, allocations: 7.376 MB / 1.066 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.007986/0.2627, allocations: 5.236 MB / 1.071 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001254/0.264, allocations: 39.75 kB / 1.071 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.004273/0.2683, allocations: 1.606 MB / 1.073 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.00184/0.2701, allocations: 0.5821 MB / 1.073 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009214/0.2711, allocations: 262.8 kB / 1.074 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002751/0.2738, allocations: 2.334 MB / 1.076 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008504/0.2747, allocations: 0.6321 MB / 1.076 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009533/0.2757, allocations: 0.6917 MB / 1.077 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001177/0.2769, allocations: 0.8472 MB / 1.078 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002497/0.2771, allocations: 72 kB / 1.078 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005562/0.2777, allocations: 183.8 kB / 1.078 GB, free: 0.9766 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003664/0.2781, allocations: 338.4 kB / 1.078 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0009619/0.279, allocations: 0.8677 MB / 1.079 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001936/0.281, allocations: 2.199 MB / 1.081 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.281, allocations: 4 kB / 1.081 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.703e-06/0.281, allocations: 0 / 1.081 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.023e-05/0.2811, allocations: 0 / 1.081 GB, free: 13.55 MB / 0.8419 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.002713/0.2838, allocations: 2.009 MB / 1.083 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.2838, allocations: 15.97 kB / 1.083 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.74e-05/0.2839, allocations: 90.7 kB / 1.084 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002272/0.2842, allocations: 218.2 kB / 1.084 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002081/0.2863, allocations: 1.603 MB / 1.085 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.628e-05/0.2863, allocations: 37 kB / 1.085 GB, free: 9.441 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.126e-05/0.2864, allocations: 56 kB / 1.085 GB, free: 9.387 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008111/0.2872, allocations: 0.5607 MB / 1.086 GB, free: 8.816 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.2872, allocations: 0 / 1.086 GB, free: 8.816 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.032e-05/0.2873, allocations: 20 kB / 1.086 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/0.2873, allocations: 12 kB / 1.086 GB, free: 8.785 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006926/0.288, allocations: 0.4957 MB / 1.086 GB, free: 8.293 MB / 0.8419 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.003876/0.2919, allocations: 3.29 MB / 1.09 GB, free: 4.754 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.559e-05/0.292, allocations: 58.48 kB / 1.09 GB, free: 4.688 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.053e-05/0.292, allocations: 56.86 kB / 1.09 GB, free: 4.629 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.2921, allocations: 3.938 kB / 1.09 GB, free: 4.625 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.2921, allocations: 30.56 kB / 1.09 GB, free: 4.586 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 1.343e-06/0.2921, allocations: 0 / 1.09 GB, free: 4.586 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0004732/0.2926, allocations: 358.9 kB / 1.09 GB, free: 4.227 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.2926, allocations: 51.41 kB / 1.09 GB, free: 4.164 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003336/0.296, allocations: 2.962 MB / 1.093 GB, free: 1.188 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.296, allocations: 25.7 kB / 1.093 GB, free: 1.156 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007863/0.2968, allocations: 0.9386 MB / 1.094 GB, free: 216 kB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.371e-05/0.2968, allocations: 11.98 kB / 1.094 GB, free: 204 kB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.915e-05/0.2969, allocations: 49.69 kB / 1.094 GB, free: 148 kB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.297, allocations: 329.9 kB / 1.094 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002037/0.2972, allocations: 156.9 kB / 1.095 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003951/0.2976, allocations: 473.2 kB / 1.095 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005716/0.2982, allocations: 0.5981 MB / 1.096 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.2982, allocations: 4 kB / 1.096 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000967/0.2992, allocations: 0.7608 MB / 1.096 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.2992, allocations: 13.72 kB / 1.096 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.2992, allocations: 8 kB / 1.096 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.2992, allocations: 16 kB / 1.096 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003143/0.2996, allocations: 107.8 kB / 1.096 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.751e-05/0.2996, allocations: 19.94 kB / 1.097 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006086/0.3002, allocations: 103.1 kB / 1.097 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.094e-05/0.3002, allocations: 28 kB / 1.097 GB, free: 13.25 MB / 0.8575 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.000751/0.301, allocations: 0.7392 MB / 1.097 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00019/0.3012, allocations: 201.4 kB / 1.098 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002751/0.3015, allocations: 219.8 kB / 1.098 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.644e-06/0.3015, allocations: 4 kB / 1.098 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3015, allocations: 4 kB / 1.098 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.3015, allocations: 0 / 1.098 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009549/0.3025, allocations: 0.947 MB / 1.099 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3025, allocations: 0 / 1.099 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.852e-05/0.3025, allocations: 4 kB / 1.099 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3025, allocations: 0 / 1.099 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.066e-06/0.3026, allocations: 0 / 1.099 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3026, allocations: 0 / 1.099 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3026, allocations: 0 / 1.099 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003705/0.3029, allocations: 429 kB / 1.099 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004431/0.3034, allocations: 370.3 kB / 1.099 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001593/0.3036, allocations: 4 kB / 1.099 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003477/0.3039, allocations: 0 / 1.099 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.9e-05/0.3039, allocations: 0 / 1.099 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-06/0.3039, allocations: 0 / 1.099 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.002436/0.3064, allocations: 2.082 MB / 1.101 GB, free: 8.156 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3064, allocations: 0 / 1.101 GB, free: 8.156 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006935/0.3071, allocations: 248 kB / 1.102 GB, free: 7.914 MB / 0.8575 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.0008413/0.3079, allocations: 1.017 MB / 1.103 GB, free: 6.875 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004353/0.3084, allocations: 313.4 kB / 1.103 GB, free: 6.57 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3084, allocations: 0.9375 kB / 1.103 GB, free: 6.57 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.817e-05/0.3085, allocations: 43.95 kB / 1.103 GB, free: 6.527 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002416/0.3109, allocations: 0.6546 MB / 1.104 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02529/0.3362, allocations: 18.71 MB / 1.122 GB, free: 1.887 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001229/0.3375, allocations: 1.812 MB / 1.124 GB, free: 40 kB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0008046/0.3383, allocations: 301.3 kB / 1.124 GB, free: 15.74 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006889/0.339, allocations: 0.6824 MB / 1.125 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of SimCode: time 1.192e-06/0.339, allocations: 4 kB / 1.125 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.521/1.86, allocations: 42.08 MB / 1.166 GB, free: 5.57 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002582/1.861, allocations: 284.1 kB / 1.166 GB, free: 5.184 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.445/4.305, allocations: 0 / 1.166 GB, free: 5.184 MB / 0.92 GB (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature.fmu > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches