Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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.EquationOfTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",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.001008/0.001008, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001327/0.001327, allocations: 168.7 kB / 15.95 MB, free: 204 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.402/1.402, allocations: 223.2 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.503/2.503, allocations: 409.4 MB / 0.684 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003559/0.0003559, allocations: 8 kB / 0.8378 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8197/0.8201, allocations: 146.8 MB / 0.9811 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.001731/0.8219, allocations: 1.163 MB / 0.9823 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008685/0.8227, allocations: 475.2 kB / 0.9827 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.215e-05/0.8228, allocations: 0 / 0.9827 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.722e-05/0.8228, allocations: 3.984 kB / 0.9827 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002616/0.8231, allocations: 15.92 kB / 0.9827 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001042/0.8232, allocations: 31.91 kB / 0.9828 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.259e-05/0.8233, allocations: 39.86 kB / 0.9828 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.957e-05/0.8234, allocations: 8 kB / 0.9828 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.437e-05/0.8235, allocations: 19.91 kB / 0.9828 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.934e-05/0.8236, allocations: 19.97 kB / 0.9829 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.8236, allocations: 4 kB / 0.9829 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.117e-05/0.8236, allocations: 0 / 0.9829 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.579e-05/0.8237, allocations: 15.92 kB / 0.9829 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.427e-05/0.8237, allocations: 29.7 kB / 0.9829 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.31e-05/0.8238, allocations: 34.19 kB / 0.9829 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.8238, allocations: 4 kB / 0.9829 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.024e-06/0.8238, allocations: 0 / 0.9829 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.8238, allocations: 0 / 0.9829 GB, free: 4.391 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005817/0.8244, allocations: 343.2 kB / 0.9833 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.8244, allocations: 12.03 kB / 0.9833 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.513e-05/0.8245, allocations: 30.56 kB / 0.9833 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.043e-05/0.8245, allocations: 11.89 kB / 0.9833 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.8247, allocations: 171 kB / 0.9835 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.8247, allocations: 4 kB / 0.9835 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.8247, allocations: 3.938 kB / 0.9835 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.8249, allocations: 57.62 kB / 0.9836 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.8249, allocations: 0 / 0.9836 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.8249, allocations: 0 / 0.9836 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-06/0.8249, allocations: 0 / 0.9836 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.061e-05/0.825, allocations: 31.97 kB / 0.9836 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003908/0.8254, allocations: 280.8 kB / 0.9838 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002074/0.8256, allocations: 62.62 kB / 0.9839 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.661e-05/0.8257, allocations: 28.84 kB / 0.9839 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.8257, allocations: 0 / 0.9839 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001816/0.8259, allocations: 75.31 kB / 0.984 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 2.705e-06/0.8259, allocations: 0 / 0.984 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.0002497/0.8261, allocations: 97.52 kB / 0.9841 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.8262, allocations: 51.41 kB / 0.9842 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.444e-05/0.8263, allocations: 105.8 kB / 0.9843 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.8263, allocations: 25.7 kB / 0.9843 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.54e-05/0.8264, allocations: 80.14 kB / 0.9844 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.023e-05/0.8264, allocations: 19.8 kB / 0.9844 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/0.8264, allocations: 0 / 0.9844 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.8265, allocations: 318.8 kB / 0.9847 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.476e-05/0.8266, allocations: 15.98 kB / 0.9847 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.103e-05/0.8266, allocations: 15.98 kB / 0.9847 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.949e-05/0.8267, allocations: 16 kB / 0.9847 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.8267, allocations: 0 / 0.9847 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001297/0.8268, allocations: 85.53 kB / 0.9848 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.8268, allocations: 8 kB / 0.9848 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.8269, allocations: 0 / 0.9848 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.8269, allocations: 0 / 0.9848 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.023e-05/0.8269, allocations: 15.98 kB / 0.9848 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.827, allocations: 0 / 0.9848 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.171e-05/0.827, allocations: 4 kB / 0.9848 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.827, allocations: 0 / 0.9848 GB, free: 2.23 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.eqnTim.tNext,eqnTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 9.717e-05/0.8271, allocations: 113.8 kB / 0.9849 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.471e-05/0.8272, allocations: 7.953 kB / 0.9849 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001964/0.8274, allocations: 109.7 kB / 0.9851 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.8274, allocations: 4.094 kB / 0.9851 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.8274, allocations: 11.94 kB / 0.9851 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.8274, allocations: 3.984 kB / 0.9851 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.8276, allocations: 173.6 kB / 0.9852 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.8276, allocations: 0 / 0.9852 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.843e-05/0.8276, allocations: 15.98 kB / 0.9852 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.379e-06/0.8276, allocations: 3.953 kB / 0.9853 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.8277, allocations: 4 kB / 0.9853 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.8277, allocations: 0 / 0.9853 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.8277, allocations: 0 / 0.9853 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.8279, allocations: 117 kB / 0.9854 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.228e-05/0.8279, allocations: 88.95 kB / 0.9855 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.8279, allocations: 3.953 kB / 0.9855 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.509e-05/0.828, allocations: 11.98 kB / 0.9855 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.296e-05/0.8281, allocations: 7.984 kB / 0.9855 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.8281, allocations: 0 / 0.9855 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.39e-05/0.8281, allocations: 83.28 kB / 0.9856 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8281, allocations: 0 / 0.9856 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001852/0.8283, allocations: 16 kB / 0.9856 GB, free: 1.367 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,eqnTim.tNext) * Number of discrete states: 1 (eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * 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.0005104/0.8288, allocations: 0.6553 MB / 0.9862 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000136/0.829, allocations: 47.92 kB / 0.9863 GB, free: 0.6328 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.829, allocations: 0 / 0.9863 GB, free: 0.6328 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.447e-05/0.8291, allocations: 36.05 kB / 0.9863 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001614/0.8292, allocations: 11.95 kB / 0.9863 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006863/0.8299, allocations: 444 kB / 0.9867 GB, free: 108 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.8302, allocations: 0.6848 MB / 0.9874 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.321e-05/0.8303, allocations: 12.59 kB / 0.9874 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.977e-05/0.8303, allocations: 19.42 kB / 0.9874 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of SimCode: time 1.413e-06/0.8303, allocations: 0 / 0.9874 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.219/1.049, allocations: 1.42 MB / 0.9888 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003939/1.05, allocations: 238.2 kB / 0.989 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.901/2.951, allocations: 0 / 0.989 GB, free: 13.88 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat does not exist to compare? outputFormat=mat