Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",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.001151/0.001151, allocations: 91.38 kB / 15.06 MB, free: 1.098 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.001762/0.001761, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.247/2.247, allocations: 409.4 MB / 0.684 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0002984/0.0002985, allocations: 8 kB / 0.8378 GB, free: 6.434 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5106/0.511, allocations: 146.8 MB / 0.9811 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.001307/0.5123, allocations: 1.194 MB / 0.9823 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0005838/0.5129, allocations: 435.3 kB / 0.9827 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.983e-05/0.513, allocations: 0 / 0.9827 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.514e-05/0.513, allocations: 4 kB / 0.9827 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001805/0.5132, allocations: 30.28 kB / 0.9828 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 6.013e-05/0.5132, allocations: 8 kB / 0.9828 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.607e-05/0.5133, allocations: 43.78 kB / 0.9828 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.048e-05/0.5134, allocations: 12 kB / 0.9828 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.88e-05/0.5134, allocations: 23.91 kB / 0.9828 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.568e-05/0.5135, allocations: 19.92 kB / 0.9829 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.5135, allocations: 4 kB / 0.9829 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.018e-05/0.5136, allocations: 0 / 0.9829 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.715e-05/0.5136, allocations: 11.98 kB / 0.9829 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.858e-05/0.5136, allocations: 33.64 kB / 0.9829 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 5.596e-05/0.5137, allocations: 30.19 kB / 0.9829 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.5137, allocations: 0 / 0.9829 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.072e-06/0.5137, allocations: 0 / 0.9829 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.5137, allocations: 4 kB / 0.9829 GB, free: 4.34 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004319/0.5141, allocations: 347.2 kB / 0.9833 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.5142, allocations: 12.03 kB / 0.9833 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.523e-05/0.5142, allocations: 34.55 kB / 0.9833 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.161e-05/0.5142, allocations: 0 / 0.9833 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.5144, allocations: 171 kB / 0.9835 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.5144, allocations: 4 kB / 0.9835 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.5144, allocations: 4 kB / 0.9835 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.906e-05/0.5145, allocations: 61.61 kB / 0.9835 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.5145, allocations: 3.938 kB / 0.9835 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.5145, allocations: 0 / 0.9835 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-06/0.5145, allocations: 0 / 0.9835 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.164e-05/0.5146, allocations: 23.98 kB / 0.9836 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002997/0.5149, allocations: 264.9 kB / 0.9838 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.515, allocations: 54.52 kB / 0.9839 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.086e-05/0.5151, allocations: 16.86 kB / 0.9839 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.5151, allocations: 3.938 kB / 0.9839 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001416/0.5153, allocations: 63.48 kB / 0.9839 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 1.183e-06/0.5153, allocations: 0 / 0.9839 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5): time 0.0001769/0.5154, allocations: 81.67 kB / 0.984 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.5155, allocations: 55.41 kB / 0.9841 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.933e-05/0.5156, allocations: 113.8 kB / 0.9842 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.5156, allocations: 33.64 kB / 0.9842 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.011e-05/0.5156, allocations: 88.05 kB / 0.9843 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.722e-05/0.5157, allocations: 15.78 kB / 0.9843 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-06/0.5157, allocations: 4 kB / 0.9843 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.066e-05/0.5158, allocations: 318.8 kB / 0.9846 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.505e-05/0.5158, allocations: 8 kB / 0.9846 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.396e-05/0.5158, allocations: 15.98 kB / 0.9847 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.031e-05/0.5159, allocations: 16 kB / 0.9847 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.5159, allocations: 0 / 0.9847 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001001/0.516, allocations: 69.55 kB / 0.9847 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.516, allocations: 4.938 kB / 0.9847 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.516, allocations: 0 / 0.9847 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.736e-06/0.516, allocations: 4 kB / 0.9847 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.098e-05/0.5161, allocations: 7.938 kB / 0.9847 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.5161, allocations: 0 / 0.9847 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.455e-05/0.5161, allocations: 7.984 kB / 0.9848 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.5162, allocations: 4 kB / 0.9848 GB, free: 2.238 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.locTim.tNext,locTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.48e-05/0.5162, allocations: 113.8 kB / 0.9849 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.406e-05/0.5162, allocations: 11.86 kB / 0.9849 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.854e-05/0.5163, allocations: 7.969 kB / 0.9849 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.5163, allocations: 0 / 0.9849 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.5163, allocations: 4 kB / 0.9849 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.5163, allocations: 0 / 0.9849 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.5164, allocations: 173.6 kB / 0.9851 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.5164, allocations: 0 / 0.9851 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.589e-05/0.5164, allocations: 4 kB / 0.9851 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.371e-06/0.5165, allocations: 7.953 kB / 0.9851 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.5165, allocations: 0 / 0.9851 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.5165, allocations: 4 kB / 0.9851 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5165, allocations: 0 / 0.9851 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001219/0.5166, allocations: 97.48 kB / 0.9852 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.302e-05/0.5166, allocations: 81.08 kB / 0.9852 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.5167, allocations: 7.953 kB / 0.9852 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.291e-05/0.5167, allocations: 7.984 kB / 0.9853 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.73e-05/0.5168, allocations: 8 kB / 0.9853 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.5168, allocations: 3.938 kB / 0.9853 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.036e-05/0.5168, allocations: 91.27 kB / 0.9854 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5168, allocations: 0 / 0.9854 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001726/0.517, allocations: 12 kB / 0.9854 GB, free: 1.52 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,locTim.tNext) * Number of discrete states: 1 (locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003557/0.5174, allocations: 0.6358 MB / 0.986 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.925e-05/0.5175, allocations: 31.98 kB / 0.986 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.5175, allocations: 0 / 0.986 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.927e-05/0.5175, allocations: 23.94 kB / 0.986 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001296/0.5177, allocations: 9.5 kB / 0.9861 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005864/0.5183, allocations: 452.6 kB / 0.9865 GB, free: 308 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002223/0.5185, allocations: 0.6849 MB / 0.9872 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.27e-05/0.5185, allocations: 4 kB / 0.9872 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.291e-05/0.5186, allocations: 15.44 kB / 0.9872 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of SimCode: time 2.2e-07/0.5186, allocations: 0 / 0.9872 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6334/1.152, allocations: 1.303 MB / 0.9884 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002046/1.152, allocations: 230 kB / 0.9887 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.549/2.701, allocations: 0 / 0.9887 GB, free: 14.21 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat does not exist to compare? outputFormat=mat