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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001024/0.001024, 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.001059/0.00106, allocations: 193.6 kB / 16.53 MB, free: 6.699 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.339/1.339, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.583/2.583, allocations: 461.9 MB / 0.7346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 71 kB / 0.8992 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2714, allocations: 157.4 MB / 1.053 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.008144/0.2795, allocations: 7.866 MB / 1.061 GB, free: 372 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.007021/0.2866, allocations: 5.375 MB / 1.066 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001211/0.2879, allocations: 47.75 kB / 1.066 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.004646/0.2926, allocations: 1.718 MB / 1.068 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001773/0.2943, allocations: 0.6436 MB / 1.068 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009752/0.2953, allocations: 309 kB / 1.068 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002412/0.2978, allocations: 2.024 MB / 1.07 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008393/0.2986, allocations: 0.6996 MB / 1.071 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008564/0.2995, allocations: 0.7504 MB / 1.072 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008829/0.3004, allocations: 0.8824 MB / 1.073 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001594/0.3005, allocations: 96 kB / 1.073 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004557/0.301, allocations: 215.8 kB / 1.073 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002887/0.3013, allocations: 370.5 kB / 1.073 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0007092/0.302, allocations: 0.8778 MB / 1.074 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001774/0.3038, allocations: 2.386 MB / 1.077 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3038, allocations: 0 / 1.077 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.407e-06/0.3038, allocations: 0 / 1.077 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.731e-05/0.3038, allocations: 3.938 kB / 1.077 GB, free: 15.91 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.002784/0.3066, allocations: 2.344 MB / 1.079 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.3067, allocations: 12.62 kB / 1.079 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.464e-05/0.3068, allocations: 90.7 kB / 1.079 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002344/0.307, allocations: 218.2 kB / 1.079 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002021/0.3091, allocations: 1.618 MB / 1.081 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.126e-05/0.3091, allocations: 37 kB / 1.081 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.616e-05/0.3092, allocations: 48 kB / 1.081 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007438/0.3099, allocations: 0.5529 MB / 1.081 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.3099, allocations: 0 / 1.081 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.907e-05/0.31, allocations: 20 kB / 1.081 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.31, allocations: 12 kB / 1.081 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006645/0.3107, allocations: 0.5034 MB / 1.082 GB, free: 10.31 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.003715/0.3144, allocations: 3.262 MB / 1.085 GB, free: 6.801 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.224e-05/0.3145, allocations: 66.47 kB / 1.085 GB, free: 6.727 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.351e-05/0.3146, allocations: 52.81 kB / 1.085 GB, free: 6.672 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.3146, allocations: 0 / 1.085 GB, free: 6.672 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.3146, allocations: 34.56 kB / 1.085 GB, free: 6.629 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 1.093e-06/0.3146, allocations: 0 / 1.085 GB, free: 6.629 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0004925/0.3151, allocations: 358.9 kB / 1.086 GB, free: 6.27 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.3151, allocations: 51.41 kB / 1.086 GB, free: 6.207 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00318/0.3183, allocations: 2.954 MB / 1.088 GB, free: 3.238 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.3184, allocations: 29.7 kB / 1.089 GB, free: 3.203 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007301/0.3191, allocations: 0.9386 MB / 1.089 GB, free: 2.258 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.515e-05/0.3191, allocations: 15.89 kB / 1.089 GB, free: 2.242 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.3192, allocations: 110.2 kB / 1.09 GB, free: 2.129 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 8.918e-05/0.3193, allocations: 329.9 kB / 1.09 GB, free: 1.801 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/0.3195, allocations: 160.9 kB / 1.09 GB, free: 1.645 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003818/0.3199, allocations: 469.2 kB / 1.09 GB, free: 1.039 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005299/0.3205, allocations: 0.5981 MB / 1.091 GB, free: 300 kB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.3205, allocations: 4 kB / 1.091 GB, free: 296 kB / 0.8419 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008984/0.3214, allocations: 0.764 MB / 1.092 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.3214, allocations: 9.906 kB / 1.092 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.3214, allocations: 12 kB / 1.092 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.3215, allocations: 16 kB / 1.092 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003037/0.3218, allocations: 111.8 kB / 1.092 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.575e-05/0.3218, allocations: 19.92 kB / 1.092 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005061/0.3223, allocations: 87.06 kB / 1.092 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.96e-05/0.3223, allocations: 28 kB / 1.092 GB, free: 15.23 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.0006568/0.323, allocations: 0.7368 MB / 1.093 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001858/0.3232, allocations: 213.2 kB / 1.093 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002523/0.3234, allocations: 219.8 kB / 1.093 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3235, allocations: 0 / 1.093 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3235, allocations: 4 kB / 1.093 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.3235, allocations: 0 / 1.093 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009236/0.3244, allocations: 0.947 MB / 1.094 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3244, allocations: 0 / 1.094 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.079e-05/0.3245, allocations: 0 / 1.094 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.3245, allocations: 4 kB / 1.094 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.3245, allocations: 4 kB / 1.094 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.3245, allocations: 3.984 kB / 1.094 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3245, allocations: 0 / 1.094 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000343/0.3249, allocations: 421.1 kB / 1.095 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004433/0.3253, allocations: 370.4 kB / 1.095 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001838/0.3255, allocations: 0 / 1.095 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003262/0.3258, allocations: 4 kB / 1.095 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.816e-05/0.3259, allocations: 3.938 kB / 1.095 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.3259, allocations: 4.031 kB / 1.095 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.002479/0.3283, allocations: 2.082 MB / 1.097 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of sort global known variables: time 6.61e-07/0.3284, allocations: 0 / 1.097 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006826/0.329, allocations: 247.8 kB / 1.097 GB, free: 9.895 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.0008178/0.3299, allocations: 1.015 MB / 1.098 GB, free: 8.855 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004258/0.3303, allocations: 309.7 kB / 1.098 GB, free: 8.555 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.3303, allocations: 0 / 1.098 GB, free: 8.555 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.814e-05/0.3304, allocations: 43.89 kB / 1.099 GB, free: 8.512 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002326/0.3327, allocations: 0.7069 MB / 1.099 GB, free: 7.82 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02055/0.3533, allocations: 18.39 MB / 1.117 GB, free: 4.148 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001444/0.3547, allocations: 1.796 MB / 1.119 GB, free: 2.316 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000797/0.3556, allocations: 309.3 kB / 1.119 GB, free: 2.008 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006989/0.3563, allocations: 0.6789 MB / 1.12 GB, free: 1.332 MB / 0.8731 GB Notification: Performance of SimCode: time 5.81e-07/0.3563, allocations: 0 / 1.12 GB, free: 1.332 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06717/0.4235, allocations: 43.54 MB / 1.162 GB, free: 6.367 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.34/7.763, allocations: 6.422 kB / 1.162 GB, free: 6.363 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