Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.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.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule",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.004303/0.004303, allocations: 97.62 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.001211/0.001211, allocations: 202 kB / 16.68 MB, free: 5.969 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.732/2.732, allocations: 482.6 MB / 0.755 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 67.89 kB / 1.083 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2948, allocations: 162.3 MB / 1.242 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002701/0.2975, allocations: 1.484 MB / 1.243 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001465/0.299, allocations: 1.105 MB / 1.244 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.458e-05/0.2991, allocations: 4 kB / 1.244 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001568/0.2992, allocations: 19.86 kB / 1.244 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001657/0.2994, allocations: 39.78 kB / 1.244 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001821/0.2996, allocations: 59.47 kB / 1.244 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000211/0.2998, allocations: 151.5 kB / 1.245 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.3, allocations: 57.11 kB / 1.245 GB, free: 6.914 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.846e-05/0.3001, allocations: 79.75 kB / 1.245 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001571/0.3002, allocations: 55.7 kB / 1.245 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.333e-05/0.3003, allocations: 12 kB / 1.245 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.564e-05/0.3004, allocations: 31.98 kB / 1.245 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.482e-05/0.3005, allocations: 51.83 kB / 1.245 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.202e-05/0.3006, allocations: 75.56 kB / 1.245 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002908/0.3009, allocations: 199.2 kB / 1.245 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3009, allocations: 4 kB / 1.245 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.774e-06/0.3009, allocations: 0 / 1.245 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.3009, allocations: 0 / 1.245 GB, free: 6.414 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007017/0.3016, allocations: 0.4907 MB / 1.246 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.3017, allocations: 8.031 kB / 1.246 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.878e-05/0.3017, allocations: 42.75 kB / 1.246 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.131e-05/0.3018, allocations: 24.8 kB / 1.246 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/0.3021, allocations: 257.2 kB / 1.246 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001482/0.3023, allocations: 119.4 kB / 1.246 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.3023, allocations: 12.25 kB / 1.246 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003441/0.3026, allocations: 161.5 kB / 1.246 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.3027, allocations: 0 / 1.246 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/0.3027, allocations: 3.984 kB / 1.246 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.321e-05/0.3027, allocations: 12 kB / 1.246 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.742e-05/0.3028, allocations: 43.97 kB / 1.246 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.3039, allocations: 460.4 kB / 1.247 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.144e-05/0.304, allocations: 38.56 kB / 1.247 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.414e-05/0.304, allocations: 24.84 kB / 1.247 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.304, allocations: 4 kB / 1.247 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.3041, allocations: 38.5 kB / 1.247 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.233e-06/0.3041, allocations: 0 / 1.247 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0002651/0.3043, allocations: 105.7 kB / 1.247 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.3044, allocations: 55.34 kB / 1.247 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002371/0.3046, allocations: 219.8 kB / 1.247 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.683e-05/0.3047, allocations: 25.7 kB / 1.247 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.608e-05/0.3048, allocations: 132.1 kB / 1.247 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.3048, allocations: 27.78 kB / 1.247 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.975e-05/0.3049, allocations: 29.72 kB / 1.247 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.305, allocations: 326.8 kB / 1.248 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.561e-05/0.3051, allocations: 27.98 kB / 1.248 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.3052, allocations: 106.2 kB / 1.248 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/0.3054, allocations: 138.2 kB / 1.248 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.3054, allocations: 4 kB / 1.248 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002489/0.3057, allocations: 153.2 kB / 1.248 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.3057, allocations: 5.875 kB / 1.248 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3057, allocations: 4.375 kB / 1.248 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/0.3057, allocations: 8 kB / 1.248 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.964e-05/0.3058, allocations: 27.92 kB / 1.248 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.3058, allocations: 7.938 kB / 1.248 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.026e-05/0.3059, allocations: 8 kB / 1.248 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.3059, allocations: 4 kB / 1.248 GB, free: 2.984 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (12): * Single equations (assignments): 12 * 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.0001318/0.3061, allocations: 150.2 kB / 1.248 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.322e-05/0.3061, allocations: 11.91 kB / 1.248 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002357/0.3064, allocations: 127.3 kB / 1.248 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3064, allocations: 4 kB / 1.248 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3064, allocations: 3.938 kB / 1.248 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.3064, allocations: 0 / 1.248 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002614/0.3067, allocations: 233.5 kB / 1.249 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.3067, allocations: 0 / 1.249 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.872e-05/0.3067, allocations: 12 kB / 1.249 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.3067, allocations: 3.984 kB / 1.249 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.3067, allocations: 8 kB / 1.249 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3067, allocations: 0 / 1.249 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3068, allocations: 3.938 kB / 1.249 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000214/0.307, allocations: 195.4 kB / 1.249 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.539e-05/0.307, allocations: 89.02 kB / 1.249 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.3071, allocations: 7.938 kB / 1.249 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002559/0.3073, allocations: 19.97 kB / 1.249 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.936e-05/0.3074, allocations: 7.938 kB / 1.249 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/0.3074, allocations: 11.98 kB / 1.249 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001565/0.3075, allocations: 157.5 kB / 1.249 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3076, allocations: 4 kB / 1.249 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002964/0.3079, allocations: 35.94 kB / 1.249 GB, free: 1.82 MB / 0.9981 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 (8): * Single equations (assignments): 8 * 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.0006495/0.3085, allocations: 0.7468 MB / 1.25 GB, free: 1.051 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001733/0.3087, allocations: 75.81 kB / 1.25 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3087, allocations: 0 / 1.25 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.513e-05/0.3088, allocations: 27.92 kB / 1.25 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.309, allocations: 20.69 kB / 1.25 GB, free: 0.9297 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4743/0.7834, allocations: 1.901 MB / 1.252 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001549/0.7836, allocations: 0.738 MB / 1.253 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000162/0.7838, allocations: 50.92 kB / 1.253 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.301e-05/0.7838, allocations: 46.97 kB / 1.253 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of SimCode: time 7.72e-07/0.7839, allocations: 0 / 1.253 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08796/0.8718, allocations: 4.247 MB / 1.257 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.183/9.055, allocations: 3.781 kB / 1.257 GB, free: 12.48 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule.fmu > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat does not exist to compare? outputFormat=mat