Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.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.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Examples_TimeSeries",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.001402/0.001402, allocations: 100.1 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.002424/0.002425, 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 2.462/2.462, allocations: 223.2 MB / 239.9 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.515/4.515, allocations: 409.2 MB / 0.6838 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005594/0.0005594, allocations: 12 kB / 0.8375 GB, free: 6.578 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.321/1.322, allocations: 146.8 MB / 0.9809 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002778/1.325, allocations: 1.516 MB / 0.9823 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001374/1.326, allocations: 0.6433 MB / 0.983 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/1.326, allocations: 3.938 kB / 0.983 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001767/1.326, allocations: 19.86 kB / 0.983 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004862/1.327, allocations: 115.7 kB / 0.9831 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005775/1.328, allocations: 150.5 kB / 0.9832 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003704/1.328, allocations: 135.7 kB / 0.9834 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002174/1.328, allocations: 37.64 kB / 0.9834 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001901/1.328, allocations: 91.67 kB / 0.9835 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002034/1.33, allocations: 0.8467 MB / 0.9843 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.58e-05/1.33, allocations: 8 kB / 0.9843 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000133/1.331, allocations: 27.92 kB / 0.9844 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.575e-05/1.331, allocations: 31.89 kB / 0.9844 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.963e-05/1.331, allocations: 57.58 kB / 0.9844 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003168/1.331, allocations: 138 kB / 0.9846 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/1.331, allocations: 0 / 0.9846 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.685e-06/1.331, allocations: 0 / 0.9846 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.352e-06/1.331, allocations: 0 / 0.9846 GB, free: 2.469 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.001217/1.332, allocations: 0.5252 MB / 0.9851 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.349e-05/1.333, allocations: 12.03 kB / 0.9851 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.744e-05/1.333, allocations: 38.5 kB / 0.9851 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.551e-05/1.333, allocations: 23.75 kB / 0.9852 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005052/1.333, allocations: 250.6 kB / 0.9854 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.888e-05/1.333, allocations: 12 kB / 0.9854 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.362e-05/1.333, allocations: 16 kB / 0.9854 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003164/1.334, allocations: 113.6 kB / 0.9855 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/1.334, allocations: 0 / 0.9855 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/1.334, allocations: 0 / 0.9855 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/1.334, allocations: 7.938 kB / 0.9855 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/1.334, allocations: 55.95 kB / 0.9856 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00123/1.335, allocations: 0.4963 MB / 0.9861 GB, free: 0.7617 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003502/1.335, allocations: 106.7 kB / 0.9862 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.985e-05/1.336, allocations: 0 / 0.9862 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001822/1.336, allocations: 107.3 kB / 0.9863 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/1.336, allocations: 0 / 0.9863 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of matching and sorting (n=16): time 0.0004191/1.336, allocations: 170.6 kB / 0.9864 GB, free: 368 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.24e-05/1.336, allocations: 59.39 kB / 0.9865 GB, free: 296 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003564/1.337, allocations: 203.7 kB / 0.9867 GB, free: 76 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.728e-05/1.337, allocations: 37.7 kB / 0.9867 GB, free: 32 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001749/1.337, allocations: 124.4 kB / 0.9868 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.838e-05/1.337, allocations: 43.44 kB / 0.9869 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.588e-05/1.337, allocations: 4 kB / 0.9869 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002124/1.337, allocations: 330.8 kB / 0.9872 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002592/1.337, allocations: 68.09 kB / 0.9873 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004292/1.338, allocations: 133.4 kB / 0.9874 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003253/1.338, allocations: 127.4 kB / 0.9875 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/1.338, allocations: 0 / 0.9875 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009582/1.339, allocations: 328.6 kB / 0.9878 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 8.486e-05/1.339, allocations: 63.39 kB / 0.9879 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/1.339, allocations: 4 kB / 0.9879 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-05/1.339, allocations: 7.953 kB / 0.9879 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/1.34, allocations: 23.92 kB / 0.9879 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-05/1.34, allocations: 4 kB / 0.9879 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003313/1.34, allocations: 23.88 kB / 0.988 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.393e-05/1.34, allocations: 16.14 kB / 0.988 GB, free: 14.68 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 ($PRE.timSer1.timeConverted,timSer1.timeConverted,$PRE.timSer.timeConverted,timSer.timeConverted,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,timSer.active,$PRE.timSer.tActivateLast,timSer.tActivateLast,timSer.sampleTrigger,timSer1.active,$PRE.timSer1.tActivateLast,timSer1.tActivateLast,timSer1.sampleTrigger,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0002398/1.34, allocations: 152 kB / 0.9881 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.368e-05/1.34, allocations: 19.72 kB / 0.9881 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004159/1.341, allocations: 148.7 kB / 0.9883 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/1.341, allocations: 4 kB / 0.9883 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/1.341, allocations: 3.953 kB / 0.9883 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/1.341, allocations: 0 / 0.9883 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/1.342, allocations: 498.5 kB / 0.9888 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/1.342, allocations: 0 / 0.9888 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.783e-05/1.342, allocations: 7.984 kB / 0.9888 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.684e-06/1.342, allocations: 3.953 kB / 0.9888 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/1.342, allocations: 8 kB / 0.9888 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/1.342, allocations: 0 / 0.9888 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.342, allocations: 3.938 kB / 0.9888 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005124/1.343, allocations: 240.8 kB / 0.989 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001527/1.343, allocations: 112.8 kB / 0.9891 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.404e-05/1.343, allocations: 3.953 kB / 0.9891 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002302/1.343, allocations: 15.98 kB / 0.9891 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.735e-05/1.343, allocations: 15.97 kB / 0.9892 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.164e-05/1.343, allocations: 8 kB / 0.9892 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002489/1.343, allocations: 144.2 kB / 0.9893 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.1e-07/1.343, allocations: 0 / 0.9893 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007068/1.344, allocations: 51.89 kB / 0.9894 GB, free: 13.17 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 (timSer1.sampleTrigger,timSer.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,timSer.active,timSer.tActivateLast,timSer.timeConverted,timSer1.active,timSer1.tActivateLast,timSer1.timeConverted) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.00165/1.346, allocations: 0.8289 MB / 0.9902 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0009176/1.347, allocations: 246.8 kB / 0.9904 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/1.347, allocations: 4.062 kB / 0.9904 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002031/1.347, allocations: 47.98 kB / 0.9904 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007325/1.348, allocations: 62.91 kB / 0.9905 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003089/1.351, allocations: 1.531 MB / 0.992 GB, free: 10.35 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007281/1.352, allocations: 0.7284 MB / 0.9927 GB, free: 9.598 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002162/1.352, allocations: 25.94 kB / 0.9927 GB, free: 9.574 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002016/1.352, allocations: 63.41 kB / 0.9928 GB, free: 9.512 MB / 0.7481 GB Notification: Performance of SimCode: time 3.066e-06/1.352, allocations: 4 kB / 0.9928 GB, free: 9.508 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03293/1.385, allocations: 4.95 MB / 0.9976 GB, free: 4.723 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003683/1.386, allocations: 225 kB / 0.9979 GB, free: 4.484 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.288/4.674, allocations: 4 kB / 0.9979 GB, free: 4.48 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Examples_TimeSeries_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Examples_TimeSeries.fmu > Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat does not exist to compare? outputFormat=mat