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.001108/0.001108, allocations: 92.16 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.001346/0.001346, 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.485/1.485, allocations: 223.3 MB / 240 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.638/2.638, allocations: 409.4 MB / 0.684 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003584/0.0003585, allocations: 8 kB / 0.8378 GB, free: 6.492 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8253/0.8257, allocations: 146.8 MB / 0.9811 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002304/0.828, allocations: 1.543 MB / 0.9826 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001163/0.8292, allocations: 0.6317 MB / 0.9832 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.573e-05/0.8293, allocations: 4 kB / 0.9832 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002019/0.8295, allocations: 31.78 kB / 0.9833 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002921/0.8298, allocations: 99.58 kB / 0.9834 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000377/0.8302, allocations: 151.7 kB / 0.9835 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002406/0.8305, allocations: 199.5 kB / 0.9837 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.8306, allocations: 41.64 kB / 0.9837 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.8308, allocations: 95.61 kB / 0.9838 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003852/0.8346, allocations: 2.48 MB / 0.9863 GB, free: 0.9648 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.243e-05/0.8347, allocations: 8 kB / 0.9863 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.818e-05/0.8348, allocations: 23.98 kB / 0.9863 GB, free: 0.9336 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.531e-05/0.8349, allocations: 39.83 kB / 0.9863 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.885e-05/0.8349, allocations: 49.64 kB / 0.9864 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002432/0.8352, allocations: 147.7 kB / 0.9865 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.8352, allocations: 0 / 0.9865 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of FrontEnd: time 5.059e-06/0.8352, allocations: 0 / 0.9865 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.8352, allocations: 11.88 kB / 0.9865 GB, free: 0.6836 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.0008116/0.8361, allocations: 0.5174 MB / 0.987 GB, free: 108 kB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.8361, allocations: 12.02 kB / 0.987 GB, free: 96 kB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.013e-05/0.8362, allocations: 38.56 kB / 0.9871 GB, free: 48 kB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.675e-05/0.8363, allocations: 19.81 kB / 0.9871 GB, free: 28 kB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003597/0.8366, allocations: 254.6 kB / 0.9873 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.8366, allocations: 8 kB / 0.9874 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.432e-05/0.8367, allocations: 19.98 kB / 0.9874 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.8369, allocations: 105.6 kB / 0.9875 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.8369, allocations: 0 / 0.9875 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.8369, allocations: 4 kB / 0.9875 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.837, allocations: 7.938 kB / 0.9875 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.8371, allocations: 60.5 kB / 0.9875 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009179/0.838, allocations: 0.4886 MB / 0.988 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002593/0.8383, allocations: 106.6 kB / 0.9881 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.326e-05/0.8384, allocations: 36.89 kB / 0.9882 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.8384, allocations: 0 / 0.9882 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001646/0.8386, allocations: 107.4 kB / 0.9883 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=16): time 1.333e-06/0.8386, allocations: 0 / 0.9883 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of matching and sorting (n=16): time 0.0003379/0.8389, allocations: 178.4 kB / 0.9884 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.839, allocations: 63.38 kB / 0.9885 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.8392, allocations: 203.6 kB / 0.9887 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.248e-05/0.8392, allocations: 33.7 kB / 0.9887 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 9.721e-05/0.8393, allocations: 128.4 kB / 0.9888 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.512e-05/0.8394, allocations: 39.45 kB / 0.9889 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.604e-05/0.8394, allocations: 4 kB / 0.9889 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.8395, allocations: 330.8 kB / 0.9892 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.8397, allocations: 64.16 kB / 0.9893 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002037/0.8399, allocations: 133.1 kB / 0.9894 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.8401, allocations: 141.8 kB / 0.9895 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.8401, allocations: 4 kB / 0.9895 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005508/0.8407, allocations: 320.6 kB / 0.9898 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 6.857e-05/0.8408, allocations: 68.64 kB / 0.9899 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.8408, allocations: 0 / 0.9899 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.8408, allocations: 7.953 kB / 0.9899 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.191e-05/0.8409, allocations: 28.08 kB / 0.9899 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.8409, allocations: 4 kB / 0.9899 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.8411, allocations: 23.83 kB / 0.99 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.395e-05/0.8411, allocations: 19.98 kB / 0.99 GB, free: 12.85 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.0001625/0.8413, allocations: 140 kB / 0.9901 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.956e-05/0.8414, allocations: 23.72 kB / 0.9901 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002512/0.8416, allocations: 140.2 kB / 0.9903 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/0.8416, allocations: 15.94 kB / 0.9903 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.8416, allocations: 0 / 0.9903 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.8417, allocations: 3.984 kB / 0.9903 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006206/0.8423, allocations: 496 kB / 0.9908 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.8423, allocations: 0 / 0.9908 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.449e-05/0.8423, allocations: 11.94 kB / 0.9908 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.8424, allocations: 4 kB / 0.9908 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.8424, allocations: 4 kB / 0.9908 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.8424, allocations: 3.938 kB / 0.9908 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.8424, allocations: 4 kB / 0.9908 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.8427, allocations: 241.6 kB / 0.991 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.807e-05/0.8428, allocations: 104.9 kB / 0.9911 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.934e-05/0.8428, allocations: 3.953 kB / 0.9911 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.8429, allocations: 19.98 kB / 0.9911 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.953e-05/0.843, allocations: 11.98 kB / 0.9911 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/0.843, allocations: 15.92 kB / 0.9912 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001329/0.8432, allocations: 140.2 kB / 0.9913 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8432, allocations: 0 / 0.9913 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003186/0.8435, allocations: 47.91 kB / 0.9913 GB, free: 11.35 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.0007903/0.8443, allocations: 0.8354 MB / 0.9922 GB, free: 10.51 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004056/0.8447, allocations: 244.6 kB / 0.9924 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.8447, allocations: 0 / 0.9924 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 9.517e-05/0.8448, allocations: 59.89 kB / 0.9924 GB, free: 10.19 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004314/0.8453, allocations: 58.98 kB / 0.9925 GB, free: 10.13 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/0.8471, allocations: 1.102 MB / 0.9936 GB, free: 8.965 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.8474, allocations: 0.7284 MB / 0.9943 GB, free: 8.211 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 9.218e-05/0.8475, allocations: 25.94 kB / 0.9943 GB, free: 8.184 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.347e-05/0.8476, allocations: 63.34 kB / 0.9944 GB, free: 8.121 MB / 0.7481 GB Notification: Performance of SimCode: time 2.61e-07/0.8476, allocations: 0 / 0.9944 GB, free: 8.121 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.018/0.8656, allocations: 5.036 MB / 0.9993 GB, free: 3.258 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001842/0.8659, allocations: 228.7 kB / 0.9995 GB, free: 3.02 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.039/2.905, allocations: 0 / 0.9995 GB, free: 3.02 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