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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.005655/0.005655, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001673/0.001673, allocations: 198.6 kB / 16.68 MB, free: 5.973 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.259/1.259, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.531/2.531, allocations: 482.6 MB / 0.755 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 67.89 kB / 1.083 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2696, allocations: 162.3 MB / 1.242 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.008409/0.2781, allocations: 7.854 MB / 1.25 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.5035/0.7816, allocations: 5.361 MB / 1.255 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001332/0.783, allocations: 56.25 kB / 1.255 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004212/0.7873, allocations: 1.714 MB / 1.257 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001566/0.7889, allocations: 0.6588 MB / 1.257 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008723/0.7897, allocations: 304.3 kB / 1.258 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002091/0.7918, allocations: 2.046 MB / 1.26 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007459/0.7926, allocations: 0.6956 MB / 1.26 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008771/0.7935, allocations: 0.7553 MB / 1.261 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000894/0.7944, allocations: 0.8743 MB / 1.262 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001799/0.7946, allocations: 93.59 kB / 1.262 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000507/0.7951, allocations: 212.2 kB / 1.262 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003056/0.7954, allocations: 366 kB / 1.262 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007054/0.7961, allocations: 0.876 MB / 1.263 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0022/0.7983, allocations: 2.637 MB / 1.266 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.7984, allocations: 0 / 1.266 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.333e-06/0.7984, allocations: 0 / 1.266 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.205e-05/0.7984, allocations: 0 / 1.266 GB, free: 3.375 MB / 0.9981 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.002502/0.8009, allocations: 2.476 MB / 1.268 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.8009, allocations: 9.25 kB / 1.268 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.346e-05/0.801, allocations: 93.88 kB / 1.268 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001952/0.8012, allocations: 228.5 kB / 1.269 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002029/0.8033, allocations: 1.729 MB / 1.27 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.863e-05/0.8033, allocations: 40.06 kB / 1.27 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.767e-05/0.8034, allocations: 50.69 kB / 1.27 GB, free: 0.668 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007412/0.8041, allocations: 0.5564 MB / 1.271 GB, free: 480 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.8041, allocations: 0 / 1.271 GB, free: 480 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.731e-05/0.8042, allocations: 24.94 kB / 1.271 GB, free: 460 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.8042, allocations: 11.66 kB / 1.271 GB, free: 460 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006404/0.8048, allocations: 0.4971 MB / 1.271 GB, free: 316 kB / 0.9981 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.003881/0.8087, allocations: 3.24 MB / 1.275 GB, free: 14.34 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.205e-05/0.8088, allocations: 66.27 kB / 1.275 GB, free: 14.3 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.16e-05/0.8089, allocations: 46.69 kB / 1.275 GB, free: 14.29 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.8089, allocations: 0 / 1.275 GB, free: 14.29 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.8089, allocations: 39.31 kB / 1.275 GB, free: 14.24 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.809, allocations: 2.875 kB / 1.275 GB, free: 14.24 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0004998/0.8095, allocations: 363.4 kB / 1.275 GB, free: 14.06 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.8095, allocations: 51.41 kB / 1.275 GB, free: 14 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003894/0.8134, allocations: 2.939 MB / 1.278 GB, free: 13.06 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.76e-05/0.8135, allocations: 27.23 kB / 1.278 GB, free: 13.03 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008863/0.8143, allocations: 0.9443 MB / 1.279 GB, free: 12.29 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.527e-05/0.8144, allocations: 9.719 kB / 1.279 GB, free: 12.28 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/0.8145, allocations: 116.4 kB / 1.279 GB, free: 12.22 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.8147, allocations: 325.8 kB / 1.279 GB, free: 11.91 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002209/0.8149, allocations: 153.1 kB / 1.28 GB, free: 11.87 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004582/0.8154, allocations: 474.9 kB / 1.28 GB, free: 11.41 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006338/0.816, allocations: 0.5997 MB / 1.281 GB, free: 10.87 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.816, allocations: 3.375 kB / 1.281 GB, free: 10.87 MB / 1.014 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001071/0.8171, allocations: 0.7759 MB / 1.281 GB, free: 10.53 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.8171, allocations: 9.906 kB / 1.281 GB, free: 10.53 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.8171, allocations: 14.09 kB / 1.281 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.469e-05/0.8172, allocations: 16.34 kB / 1.281 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003109/0.8175, allocations: 102.3 kB / 1.281 GB, free: 10.51 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.041e-05/0.8175, allocations: 24.36 kB / 1.281 GB, free: 10.51 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006225/0.8181, allocations: 93.55 kB / 1.282 GB, free: 10.45 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.258e-05/0.8182, allocations: 29.41 kB / 1.282 GB, free: 10.44 MB / 1.014 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.0008293/0.819, allocations: 0.7377 MB / 1.282 GB, free: 10.12 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002159/0.8192, allocations: 219.5 kB / 1.283 GB, free: 9.996 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002816/0.8195, allocations: 220.3 kB / 1.283 GB, free: 9.922 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.8195, allocations: 0 / 1.283 GB, free: 9.922 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.8195, allocations: 5.156 kB / 1.283 GB, free: 9.918 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.8195, allocations: 4 kB / 1.283 GB, free: 9.914 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.8207, allocations: 0.9393 MB / 1.284 GB, free: 9.469 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.8207, allocations: 0 / 1.284 GB, free: 9.469 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.711e-05/0.8207, allocations: 3.5 kB / 1.284 GB, free: 9.469 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.8207, allocations: 0 / 1.284 GB, free: 9.469 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.8207, allocations: 0 / 1.284 GB, free: 9.469 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.8207, allocations: 1.312 kB / 1.284 GB, free: 9.469 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.8208, allocations: 0.8438 kB / 1.284 GB, free: 9.469 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003933/0.8211, allocations: 436.1 kB / 1.284 GB, free: 9.184 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004709/0.8216, allocations: 375.3 kB / 1.284 GB, free: 8.926 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001581/0.8218, allocations: 2.172 kB / 1.284 GB, free: 8.926 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003012/0.8221, allocations: 2.5 kB / 1.284 GB, free: 8.926 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.603e-05/0.8221, allocations: 0 / 1.284 GB, free: 8.926 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.8221, allocations: 2.219 kB / 1.284 GB, free: 8.926 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002615/0.8247, allocations: 2.065 MB / 1.286 GB, free: 8.242 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8248, allocations: 0 / 1.286 GB, free: 8.242 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006766/0.8254, allocations: 250.1 kB / 1.287 GB, free: 8.219 MB / 1.014 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.0009532/0.8264, allocations: 1.025 MB / 1.288 GB, free: 7.406 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004664/0.8269, allocations: 318.1 kB / 1.288 GB, free: 7.309 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.8269, allocations: 0 / 1.288 GB, free: 7.309 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 6.282e-05/0.827, allocations: 41.92 kB / 1.288 GB, free: 7.301 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002222/0.8292, allocations: 0.7224 MB / 1.289 GB, free: 7.059 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02065/0.8498, allocations: 16.29 MB / 1.305 GB, free: 420 kB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001592/0.8515, allocations: 1.801 MB / 1.306 GB, free: 15.49 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0009558/0.8524, allocations: 307.7 kB / 1.307 GB, free: 15.45 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007707/0.8532, allocations: 0.6792 MB / 1.307 GB, free: 14.9 MB / 1.029 GB Notification: Performance of SimCode: time 5.09e-06/0.8532, allocations: 0 / 1.307 GB, free: 14.9 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4695/1.323, allocations: 44.03 MB / 1.35 GB, free: 6.66 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/12.85, allocations: 13.84 kB / 1.35 GB, free: 6.652 MB / 1.045 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=400 --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