Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_9_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.001201/0.001201, allocations: 99.39 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.001447/0.001447, 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 1.478/1.478, allocations: 223.2 MB / 239.9 MB, free: 5.453 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.499/2.499, allocations: 390.3 MB / 0.6653 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003849/0.0003849, allocations: 11.98 kB / 0.8146 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8554/0.8558, allocations: 142.3 MB / 0.9536 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002058/0.8579, allocations: 1.524 MB / 0.9551 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001237/0.8592, allocations: 0.6297 MB / 0.9557 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001608/0.8594, allocations: 10.69 kB / 0.9557 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001726/0.8595, allocations: 18.7 kB / 0.9557 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000403/0.8599, allocations: 114 kB / 0.9558 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004186/0.8604, allocations: 141.2 kB / 0.956 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003083/0.8607, allocations: 140.7 kB / 0.9561 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.8608, allocations: 29.33 kB / 0.9561 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001637/0.861, allocations: 96.31 kB / 0.9562 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001267/0.8623, allocations: 0.8658 MB / 0.9571 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.075e-05/0.8623, allocations: 8.562 kB / 0.9571 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.8624, allocations: 19.69 kB / 0.9571 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.688e-05/0.8625, allocations: 31.89 kB / 0.9571 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.951e-05/0.8626, allocations: 58.45 kB / 0.9572 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.8628, allocations: 144.3 kB / 0.9573 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.8628, allocations: 0 / 0.9573 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.124e-06/0.8628, allocations: 4 kB / 0.9573 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.218e-06/0.8628, allocations: 1.781 kB / 0.9573 GB, free: 5.504 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006431/0.8634, allocations: 0.5133 MB / 0.9578 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.8635, allocations: 8.844 kB / 0.9578 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.858e-05/0.8635, allocations: 46.39 kB / 0.9579 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.886e-05/0.8636, allocations: 23.78 kB / 0.9579 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003097/0.8639, allocations: 240.8 kB / 0.9581 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.864, allocations: 10.81 kB / 0.9581 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.794e-05/0.864, allocations: 22.92 kB / 0.9582 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.8642, allocations: 113.9 kB / 0.9583 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.8642, allocations: 0 / 0.9583 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.8642, allocations: 5.375 kB / 0.9583 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.8643, allocations: 2.75 kB / 0.9583 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.8644, allocations: 55.59 kB / 0.9583 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008179/0.8652, allocations: 0.4964 MB / 0.9588 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002543/0.8655, allocations: 111.2 kB / 0.9589 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.8655, allocations: 1.844 kB / 0.9589 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001347/0.8656, allocations: 98.42 kB / 0.959 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.8656, allocations: 5.625 kB / 0.959 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0003244/0.866, allocations: 170.1 kB / 0.9592 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.866, allocations: 54.62 kB / 0.9592 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.8662, allocations: 214.1 kB / 0.9594 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.027e-05/0.8662, allocations: 33.7 kB / 0.9595 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.549e-05/0.8663, allocations: 127.1 kB / 0.9596 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.8663, allocations: 41.23 kB / 0.9596 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.649e-05/0.8664, allocations: 7.156 kB / 0.9596 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.481e-05/0.8664, allocations: 339.2 kB / 0.96 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.8666, allocations: 61.64 kB / 0.96 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001913/0.8668, allocations: 124.4 kB / 0.9601 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001813/0.867, allocations: 138 kB / 0.9603 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.867, allocations: 1.031 kB / 0.9603 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005057/0.8675, allocations: 325.5 kB / 0.9606 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.728e-05/0.8676, allocations: 69.53 kB / 0.9606 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.8676, allocations: 2.031 kB / 0.9606 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.8676, allocations: 2.344 kB / 0.9606 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.268e-05/0.8677, allocations: 21.75 kB / 0.9607 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.8677, allocations: 6.875 kB / 0.9607 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.8679, allocations: 29.89 kB / 0.9607 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.731e-05/0.8679, allocations: 17.22 kB / 0.9607 GB, free: 2.562 MB / 0.7169 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.0001125/0.868, allocations: 144.7 kB / 0.9609 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.749e-05/0.8681, allocations: 16.44 kB / 0.9609 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002196/0.8683, allocations: 148.9 kB / 0.961 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.8683, allocations: 5.125 kB / 0.961 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.8683, allocations: 4.781 kB / 0.961 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.8683, allocations: 0 / 0.961 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005052/0.8688, allocations: 496.7 kB / 0.9615 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.8689, allocations: 0 / 0.9615 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.875e-05/0.8689, allocations: 9.281 kB / 0.9615 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.8689, allocations: 4.75 kB / 0.9615 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.8689, allocations: 5.906 kB / 0.9615 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.8689, allocations: 1 kB / 0.9615 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.8689, allocations: 7.984 kB / 0.9615 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001949/0.8691, allocations: 235.7 kB / 0.9618 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.438e-05/0.8692, allocations: 105 kB / 0.9619 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.8693, allocations: 5.312 kB / 0.9619 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.8694, allocations: 16.67 kB / 0.9619 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.529e-05/0.8694, allocations: 23.7 kB / 0.9619 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.604e-05/0.8695, allocations: 10.39 kB / 0.9619 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001047/0.8696, allocations: 144.5 kB / 0.962 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8696, allocations: 0 / 0.962 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003073/0.8699, allocations: 47.41 kB / 0.9621 GB, free: 1.438 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: 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.0006332/0.8705, allocations: 0.8364 MB / 0.9629 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003608/0.8709, allocations: 251.9 kB / 0.9631 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.8709, allocations: 0 / 0.9631 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.261e-05/0.871, allocations: 48.62 kB / 0.9632 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.8714, allocations: 58.84 kB / 0.9632 GB, free: 472 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001483/0.8729, allocations: 1.539 MB / 0.9648 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/0.8733, allocations: 0.7327 MB / 0.9655 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001038/0.8734, allocations: 30.34 kB / 0.9655 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.8735, allocations: 56.89 kB / 0.9655 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.8735, allocations: 0 / 0.9655 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01611/0.8896, allocations: 4.964 MB / 0.9704 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001687/0.8898, allocations: 215 kB / 0.9706 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.835/2.725, allocations: 0 / 0.9706 GB, free: 11.55 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Examples_TimeSeries_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Examples_TimeSeries.fmu > Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat does not exist to compare? outputFormat=mat