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.0009519/0.0009581, allocations: 91.61 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.001213/0.001214, 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.473/1.473, allocations: 223.3 MB / 240 MB, free: 5.438 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.484/2.484, allocations: 390.4 MB / 0.6655 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003657/0.0003657, allocations: 12 kB / 0.8149 GB, free: 14.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7277/0.7281, allocations: 142.3 MB / 0.9538 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.001351/0.7294, allocations: 1.297 MB / 0.9551 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006532/0.7301, allocations: 0.5086 MB / 0.9556 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.243e-05/0.7302, allocations: 0 / 0.9556 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.055e-05/0.7302, allocations: 1.188 kB / 0.9556 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002248/0.7304, allocations: 35.98 kB / 0.9556 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 8.58e-05/0.7305, allocations: 33.52 kB / 0.9557 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.701e-05/0.7306, allocations: 94.23 kB / 0.9558 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.104e-05/0.7307, allocations: 15.52 kB / 0.9558 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.044e-05/0.7308, allocations: 47.08 kB / 0.9558 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.9e-05/0.7309, allocations: 44.86 kB / 0.9559 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.7309, allocations: 2.75 kB / 0.9559 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.789e-05/0.731, allocations: 3.594 kB / 0.9559 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.857e-05/0.731, allocations: 19.28 kB / 0.9559 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.032e-05/0.731, allocations: 41.14 kB / 0.9559 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.479e-05/0.7311, allocations: 71.02 kB / 0.956 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.7311, allocations: 4 kB / 0.956 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.413e-06/0.7311, allocations: 1.375 kB / 0.956 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.616e-06/0.7311, allocations: 0 / 0.956 GB, free: 6.395 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.0005253/0.7317, allocations: 388.6 kB / 0.9564 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.7317, allocations: 13.56 kB / 0.9564 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.467e-05/0.7318, allocations: 37.38 kB / 0.9564 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.035e-05/0.7318, allocations: 15.94 kB / 0.9564 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.216e-05/0.7319, allocations: 173.5 kB / 0.9566 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.7319, allocations: 6.781 kB / 0.9566 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.7319, allocations: 9.344 kB / 0.9566 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.7321, allocations: 82.88 kB / 0.9567 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.7321, allocations: 1.219 kB / 0.9567 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.7321, allocations: 4 kB / 0.9567 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.7321, allocations: 6.422 kB / 0.9567 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.944e-05/0.7322, allocations: 51.66 kB / 0.9568 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003858/0.7326, allocations: 343.2 kB / 0.9571 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002422/0.7329, allocations: 109.8 kB / 0.9572 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.847e-05/0.733, allocations: 44.8 kB / 0.9572 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.733, allocations: 5.312 kB / 0.9572 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001722/0.7331, allocations: 96.39 kB / 0.9573 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.7332, allocations: 1.25 kB / 0.9573 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0002765/0.7334, allocations: 144 kB / 0.9575 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.139e-05/0.7335, allocations: 53.91 kB / 0.9575 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.761e-05/0.7335, allocations: 138.2 kB / 0.9577 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.7336, allocations: 26.89 kB / 0.9577 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.601e-05/0.7336, allocations: 94.88 kB / 0.9578 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/0.7336, allocations: 31.69 kB / 0.9578 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-06/0.7336, allocations: 1.094 kB / 0.9578 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.928e-05/0.7337, allocations: 321 kB / 0.9581 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.295e-05/0.7337, allocations: 21.84 kB / 0.9581 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.981e-05/0.7338, allocations: 31.08 kB / 0.9582 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.682e-05/0.7339, allocations: 39.23 kB / 0.9582 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.7339, allocations: 0 / 0.9582 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001518/0.734, allocations: 109.5 kB / 0.9583 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.734, allocations: 9.688 kB / 0.9583 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.734, allocations: 0 / 0.9583 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.7341, allocations: 2 kB / 0.9583 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.7342, allocations: 21.27 kB / 0.9583 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.7342, allocations: 0 / 0.9583 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.25e-05/0.7343, allocations: 7.938 kB / 0.9583 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.7343, allocations: 14.02 kB / 0.9584 GB, free: 4.215 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 6.078e-05/0.7344, allocations: 126 kB / 0.9585 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.606e-05/0.7344, allocations: 11.33 kB / 0.9585 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002344/0.7346, allocations: 146 kB / 0.9586 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.7346, allocations: 1.219 kB / 0.9586 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.7346, allocations: 1.031 kB / 0.9586 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.7347, allocations: 3.984 kB / 0.9586 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.7348, allocations: 213.7 kB / 0.9588 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.7348, allocations: 4 kB / 0.9588 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.654e-05/0.7349, allocations: 17.44 kB / 0.9589 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.7349, allocations: 3.953 kB / 0.9589 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.7349, allocations: 9.469 kB / 0.9589 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.7349, allocations: 1.688 kB / 0.9589 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.7349, allocations: 0 / 0.9589 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002083/0.7351, allocations: 156 kB / 0.959 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.485e-05/0.7352, allocations: 84.61 kB / 0.9591 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.7352, allocations: 13.73 kB / 0.9591 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.809e-05/0.7353, allocations: 9.359 kB / 0.9591 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.768e-05/0.7353, allocations: 17.36 kB / 0.9591 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/0.7354, allocations: 7.766 kB / 0.9591 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.42e-05/0.7354, allocations: 98.95 kB / 0.9592 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7354, allocations: 0 / 0.9592 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002092/0.7356, allocations: 24.81 kB / 0.9593 GB, free: 3.395 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.000357/0.736, allocations: 0.6966 MB / 0.9599 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001642/0.7362, allocations: 87.16 kB / 0.96 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.7362, allocations: 0 / 0.96 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.557e-05/0.7363, allocations: 53.5 kB / 0.9601 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001533/0.7364, allocations: 16.64 kB / 0.9601 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007971/0.7372, allocations: 0.627 MB / 0.9607 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.7373, allocations: 0.6983 MB / 0.9614 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.947e-05/0.7374, allocations: 10.58 kB / 0.9614 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.028e-05/0.7375, allocations: 33.42 kB / 0.9614 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.7375, allocations: 0 / 0.9614 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01118/0.7487, allocations: 2.038 MB / 0.9634 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001294/0.7488, allocations: 211.1 kB / 0.9636 GB, free: 284 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.642/2.391, allocations: 2.109 kB / 0.9636 GB, free: 284 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