Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_9_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.001038/0.001038, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001019/0.001019, allocations: 177.3 kB / 15.95 MB, free: 216 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.545/1.545, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.426/2.426, allocations: 390.3 MB / 0.6653 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003507/0.0003511, allocations: 12 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.71/0.7104, allocations: 142.3 MB / 0.9536 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.00122/0.7117, allocations: 1.178 MB / 0.9547 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005628/0.7122, allocations: 429 kB / 0.9552 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.212e-05/0.7123, allocations: 5.375 kB / 0.9552 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.351e-05/0.7123, allocations: 3.938 kB / 0.9552 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001988/0.7125, allocations: 25.42 kB / 0.9552 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.76e-05/0.7126, allocations: 15.58 kB / 0.9552 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.453e-05/0.7127, allocations: 30.95 kB / 0.9552 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.293e-05/0.7127, allocations: 8.406 kB / 0.9552 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.038e-05/0.7128, allocations: 20.62 kB / 0.9553 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.504e-05/0.7129, allocations: 23.45 kB / 0.9553 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.7129, allocations: 2.156 kB / 0.9553 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.277e-05/0.7129, allocations: 1.969 kB / 0.9553 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.804e-05/0.713, allocations: 14.28 kB / 0.9553 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.808e-05/0.713, allocations: 28.98 kB / 0.9553 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.705e-05/0.7131, allocations: 29.61 kB / 0.9554 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.7131, allocations: 0 / 0.9554 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7131, allocations: 1.062 kB / 0.9554 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.7131, allocations: 0 / 0.9554 GB, free: 6.707 MB / 0.7169 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.0003794/0.7135, allocations: 348.8 kB / 0.9557 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.7135, allocations: 8.719 kB / 0.9557 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.16e-05/0.7135, allocations: 39.89 kB / 0.9557 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.706e-05/0.7136, allocations: 10.48 kB / 0.9557 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.298e-05/0.7137, allocations: 170.7 kB / 0.9559 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.7137, allocations: 2.375 kB / 0.9559 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-06/0.7137, allocations: 1.031 kB / 0.9559 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.643e-05/0.7138, allocations: 55.45 kB / 0.956 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.7138, allocations: 4 kB / 0.956 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.7138, allocations: 1.281 kB / 0.956 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.7138, allocations: 0 / 0.956 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.293e-05/0.7139, allocations: 25.84 kB / 0.956 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002538/0.7142, allocations: 272.7 kB / 0.9563 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.722e-05/0.7143, allocations: 42.77 kB / 0.9563 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.723e-06/0.7143, allocations: 0 / 0.9563 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001355/0.7144, allocations: 68.34 kB / 0.9564 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.7144, allocations: 0 / 0.9564 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0001838/0.7146, allocations: 81.98 kB / 0.9564 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.7146, allocations: 52.31 kB / 0.9565 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.641e-05/0.7147, allocations: 112.5 kB / 0.9566 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.686e-06/0.7147, allocations: 27.08 kB / 0.9566 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.295e-05/0.7148, allocations: 85.58 kB / 0.9567 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.7148, allocations: 26.06 kB / 0.9567 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-06/0.7148, allocations: 7.938 kB / 0.9567 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.796e-05/0.7149, allocations: 312.9 kB / 0.957 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.019e-05/0.7149, allocations: 13.52 kB / 0.957 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.433e-05/0.7149, allocations: 10.5 kB / 0.9571 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.089e-05/0.715, allocations: 15.06 kB / 0.9571 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.715, allocations: 0 / 0.9571 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.429e-05/0.7151, allocations: 67.06 kB / 0.9571 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.7151, allocations: 4.75 kB / 0.9571 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.7151, allocations: 7.938 kB / 0.9571 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.958e-06/0.7151, allocations: 5.078 kB / 0.9572 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.827e-05/0.7152, allocations: 6.562 kB / 0.9572 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.7152, allocations: 3.984 kB / 0.9572 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.067e-05/0.7153, allocations: 7.656 kB / 0.9572 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.7153, allocations: 2.312 kB / 0.9572 GB, free: 4.824 MB / 0.7169 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 5.288e-05/0.7153, allocations: 112.2 kB / 0.9573 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.166e-05/0.7153, allocations: 2.25 kB / 0.9573 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.018e-05/0.7154, allocations: 5.062 kB / 0.9573 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.7154, allocations: 12.91 kB / 0.9573 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.7154, allocations: 0 / 0.9573 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.7154, allocations: 1.062 kB / 0.9573 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.875e-05/0.7155, allocations: 174.3 kB / 0.9575 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.7155, allocations: 0 / 0.9575 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.677e-05/0.7155, allocations: 4.688 kB / 0.9575 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.7155, allocations: 1.156 kB / 0.9575 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.7155, allocations: 5.141 kB / 0.9575 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.7155, allocations: 4 kB / 0.9575 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.7156, allocations: 3.953 kB / 0.9575 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001159/0.7157, allocations: 97.95 kB / 0.9576 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.223e-05/0.7157, allocations: 82.11 kB / 0.9577 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.7157, allocations: 5.047 kB / 0.9577 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.944e-05/0.7158, allocations: 7.25 kB / 0.9577 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.857e-05/0.7158, allocations: 2.812 kB / 0.9577 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.7158, allocations: 10.06 kB / 0.9577 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.274e-05/0.7159, allocations: 86.62 kB / 0.9578 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.032e-06/0.7159, allocations: 4 kB / 0.9578 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001891/0.7161, allocations: 12.41 kB / 0.9578 GB, free: 4.172 MB / 0.7169 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.0002733/0.7164, allocations: 0.6257 MB / 0.9584 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001023/0.7165, allocations: 40.61 kB / 0.9584 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.7165, allocations: 0 / 0.9584 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.876e-05/0.7165, allocations: 18.78 kB / 0.9584 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.913e-05/0.7166, allocations: 10.16 kB / 0.9585 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005615/0.7172, allocations: 460.8 kB / 0.9589 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.759e-05/0.7173, allocations: 0.6905 MB / 0.9596 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.539e-05/0.7173, allocations: 6.906 kB / 0.9596 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.582e-05/0.7174, allocations: 16.92 kB / 0.9596 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of SimCode: time 3.51e-07/0.7174, allocations: 1.406 kB / 0.9596 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009897/0.7273, allocations: 1.285 MB / 0.9608 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001213/0.7274, allocations: 206.9 kB / 0.961 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.5/2.227, allocations: 0 / 0.961 GB, free: 1.605 MB / 0.7169 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat does not exist to compare? outputFormat=mat