Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.SolarTime,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",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.001189/0.001189, 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.001784/0.001784, allocations: 177.3 kB / 15.94 MB, free: 228 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.401/1.401, allocations: 223.2 MB / 239.9 MB, free: 5.359 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.39/2.39, allocations: 390.3 MB / 0.6653 GB, free: 2.996 MB / 0.5138 GB Notification: Performance of FrontEnd - loaded program: time 0.0003458/0.0003459, allocations: 15.98 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7094/0.7098, allocations: 142.3 MB / 0.9536 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.001408/0.7112, allocations: 1.281 MB / 0.9548 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006529/0.7119, allocations: 0.5045 MB / 0.9553 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.109e-05/0.7119, allocations: 1.531 kB / 0.9553 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.751e-05/0.712, allocations: 7.922 kB / 0.9553 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000219/0.7122, allocations: 41.31 kB / 0.9554 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 8.77e-05/0.7123, allocations: 25.83 kB / 0.9554 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.396e-05/0.7124, allocations: 73.47 kB / 0.9555 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.831e-05/0.7125, allocations: 14.42 kB / 0.9555 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.162e-05/0.7126, allocations: 39.28 kB / 0.9555 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.707e-05/0.7127, allocations: 40.52 kB / 0.9556 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.7127, allocations: 6.703 kB / 0.9556 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.82e-05/0.7127, allocations: 8.156 kB / 0.9556 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.486e-05/0.7128, allocations: 19.48 kB / 0.9556 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.401e-05/0.7128, allocations: 36.64 kB / 0.9556 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.072e-05/0.7129, allocations: 67.2 kB / 0.9557 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.7129, allocations: 0 / 0.9557 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.352e-06/0.7129, allocations: 0 / 0.9557 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.7129, allocations: 1.5 kB / 0.9557 GB, free: 6.387 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005625/0.7135, allocations: 390.4 kB / 0.9561 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.7135, allocations: 9.469 kB / 0.9561 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.825e-05/0.7136, allocations: 40.89 kB / 0.9561 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.168e-05/0.7136, allocations: 13.02 kB / 0.9561 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.955e-05/0.7137, allocations: 180.9 kB / 0.9563 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.7137, allocations: 6.844 kB / 0.9563 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.7138, allocations: 8.625 kB / 0.9563 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.7139, allocations: 86.39 kB / 0.9564 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.7139, allocations: 0 / 0.9564 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.714, allocations: 4 kB / 0.9564 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.714, allocations: 10.34 kB / 0.9564 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.935e-05/0.7141, allocations: 43.84 kB / 0.9565 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004191/0.7145, allocations: 355.3 kB / 0.9568 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002554/0.7148, allocations: 106.9 kB / 0.9569 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.7148, allocations: 2 kB / 0.9569 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001987/0.715, allocations: 94.95 kB / 0.957 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.353e-06/0.715, allocations: 0 / 0.957 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0002886/0.7153, allocations: 152.9 kB / 0.9571 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.7153, allocations: 53.97 kB / 0.9572 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.518e-05/0.7154, allocations: 126 kB / 0.9573 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.7154, allocations: 30.83 kB / 0.9573 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.056e-05/0.7155, allocations: 91.38 kB / 0.9574 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.301e-05/0.7155, allocations: 32.41 kB / 0.9575 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.305e-06/0.7155, allocations: 4 kB / 0.9575 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.23e-05/0.7156, allocations: 321.2 kB / 0.9578 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.792e-05/0.7156, allocations: 34.61 kB / 0.9578 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.158e-05/0.7157, allocations: 25.73 kB / 0.9578 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.091e-05/0.7158, allocations: 27 kB / 0.9579 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.7158, allocations: 0 / 0.9579 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001681/0.7159, allocations: 114 kB / 0.958 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.716, allocations: 5.375 kB / 0.958 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.716, allocations: 0 / 0.958 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.716, allocations: 0.9688 kB / 0.958 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.7161, allocations: 22.64 kB / 0.958 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.7161, allocations: 0 / 0.958 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.7162, allocations: 19.02 kB / 0.958 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.7162, allocations: 2.406 kB / 0.958 GB, free: 4.227 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: 6 ($whenCondition2,$whenCondition1,$PRE.locTim.tNext,locTim.tNext,$PRE.eqnTim.tNext,eqnTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 7.129e-05/0.7163, allocations: 123.4 kB / 0.9581 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.771e-05/0.7163, allocations: 11.67 kB / 0.9581 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002397/0.7166, allocations: 148.8 kB / 0.9583 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.7166, allocations: 2.75 kB / 0.9583 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.7166, allocations: 0 / 0.9583 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.7166, allocations: 4 kB / 0.9583 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.7168, allocations: 214.1 kB / 0.9585 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.7168, allocations: 0 / 0.9585 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.831e-05/0.7168, allocations: 16 kB / 0.9585 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.7169, allocations: 4.984 kB / 0.9585 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.7169, allocations: 4.984 kB / 0.9585 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.7169, allocations: 1.188 kB / 0.9585 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.7169, allocations: 1.062 kB / 0.9585 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002056/0.7171, allocations: 168.2 kB / 0.9587 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.808e-05/0.7171, allocations: 88.52 kB / 0.9588 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.7172, allocations: 4.984 kB / 0.9588 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.7173, allocations: 17.73 kB / 0.9588 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.439e-05/0.7173, allocations: 9.859 kB / 0.9588 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.7174, allocations: 7.828 kB / 0.9588 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.139e-05/0.7174, allocations: 98.2 kB / 0.9589 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7174, allocations: 0 / 0.9589 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002081/0.7176, allocations: 27.16 kB / 0.9589 GB, free: 3.402 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: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003596/0.718, allocations: 0.6996 MB / 0.9596 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001662/0.7182, allocations: 83.86 kB / 0.9597 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.7182, allocations: 0 / 0.9597 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.51e-05/0.7183, allocations: 52.55 kB / 0.9597 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001099/0.7184, allocations: 10.86 kB / 0.9597 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000826/0.7192, allocations: 0.6267 MB / 0.9604 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000102/0.7193, allocations: 0.6997 MB / 0.961 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.801e-05/0.7194, allocations: 14.03 kB / 0.9611 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.119e-05/0.7194, allocations: 30.36 kB / 0.9611 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.7195, allocations: 4 kB / 0.9611 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01091/0.7304, allocations: 2.005 MB / 0.963 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001249/0.7305, allocations: 206.7 kB / 0.9632 GB, free: 316 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.525/2.256, allocations: 7.875 kB / 0.9632 GB, free: 308 kB / 0.7169 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat does not exist to compare? outputFormat=mat