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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.4/2.4, allocations: 387.4 MB / 394.9 MB, free: 13.35 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 176.8 kB / 487.4 MB, free: 5.035 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 221.5 MB / 0.7824 GB, free: 0.9609 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008813/0.0008813, allocations: 100 kB / 0.9219 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.207e-05/2.209e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2732, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9039/1.177, allocations: 152.1 MB / 1.355 GB, free: 18.08 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002061/1.177, allocations: 76.77 kB / 1.355 GB, free: 18.07 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01836/1.196, allocations: 6.76 MB / 1.361 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.773e-06/1.196, allocations: 4 kB / 1.361 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.097e-05/1.196, allocations: 3.969 kB / 1.361 GB, free: 33.4 MB / 0.8386 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.0006982/1.197, allocations: 0.5215 MB / 1.362 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/1.197, allocations: 11.34 kB / 1.362 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.43e-05/1.197, allocations: 19.34 kB / 1.362 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004958/1.197, allocations: 281 kB / 1.362 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/1.197, allocations: 3.844 kB / 1.362 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.149e-05/1.197, allocations: 13.91 kB / 1.362 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001403/1.197, allocations: 53.59 kB / 1.362 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/1.198, allocations: 95.58 kB / 1.362 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/1.198, allocations: 3.953 kB / 1.362 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/1.198, allocations: 0 / 1.362 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/1.198, allocations: 0 / 1.362 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007724/1.198, allocations: 473.8 kB / 1.363 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002133/1.199, allocations: 98.17 kB / 1.363 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.935e-05/1.199, allocations: 36.94 kB / 1.363 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/1.199, allocations: 3.188 kB / 1.363 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001194/1.199, allocations: 93.77 kB / 1.363 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.573e-06/1.199, allocations: 7.938 kB / 1.363 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0002274/1.199, allocations: 128.9 kB / 1.363 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.41e-05/1.199, allocations: 55.41 kB / 1.363 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/1.199, allocations: 173.7 kB / 1.363 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/1.199, allocations: 29.67 kB / 1.363 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.05e-05/1.199, allocations: 118.4 kB / 1.363 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.754e-05/1.199, allocations: 44.28 kB / 1.363 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.676e-05/1.2, allocations: 3.844 kB / 1.363 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001179/1.2, allocations: 335.2 kB / 1.364 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.591e-05/1.2, allocations: 52.56 kB / 1.364 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/1.2, allocations: 112.9 kB / 1.364 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/1.2, allocations: 67.72 kB / 1.364 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/1.2, allocations: 3.953 kB / 1.364 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003587/1.2, allocations: 237 kB / 1.364 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.362e-05/1.2, allocations: 70.48 kB / 1.364 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/1.2, allocations: 3.844 kB / 1.364 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/1.2, allocations: 0 / 1.364 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.355e-05/1.201, allocations: 19.47 kB / 1.364 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/1.201, allocations: 11.14 kB / 1.364 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000188/1.201, allocations: 22.14 kB / 1.364 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.536e-05/1.201, allocations: 18.58 kB / 1.364 GB, free: 31.42 MB / 0.8386 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 () * 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 8.86e-05/1.201, allocations: 115 kB / 1.364 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001504/1.201, allocations: 128.8 kB / 1.365 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.014e-05/1.201, allocations: 26.06 kB / 1.365 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001844/1.201, allocations: 125.1 kB / 1.365 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/1.201, allocations: 7.938 kB / 1.365 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/1.201, allocations: 3.938 kB / 1.365 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/1.201, allocations: 3.328 kB / 1.365 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004691/1.202, allocations: 447.8 kB / 1.365 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/1.202, allocations: 0 / 1.365 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.19e-05/1.202, allocations: 14.86 kB / 1.365 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/1.202, allocations: 3.844 kB / 1.365 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/1.202, allocations: 0 / 1.365 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/1.202, allocations: 0 / 1.365 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.202, allocations: 0 / 1.365 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001884/1.202, allocations: 232.4 kB / 1.365 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.613e-05/1.202, allocations: 95.38 kB / 1.366 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/1.202, allocations: 0 / 1.366 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.82e-05/1.202, allocations: 14.47 kB / 1.366 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.095e-05/1.202, allocations: 20.05 kB / 1.366 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.157e-05/1.202, allocations: 7.75 kB / 1.366 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.193e-05/1.202, allocations: 137.1 kB / 1.366 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.202, allocations: 0 / 1.366 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003049/1.203, allocations: 53.67 kB / 1.366 GB, free: 30.57 MB / 0.8386 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 () * 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.0006986/1.203, allocations: 0.8319 MB / 1.367 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002884/1.204, allocations: 239.4 kB / 1.367 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/1.204, allocations: 0 / 1.367 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.569e-05/1.204, allocations: 44.94 kB / 1.367 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/1.204, allocations: 57.11 kB / 1.367 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006432/1.205, allocations: 272.7 kB / 1.367 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/1.205, allocations: 0.7289 MB / 1.368 GB, free: 28.87 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.746e-05/1.205, allocations: 25.89 kB / 1.368 GB, free: 28.87 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.675e-05/1.205, allocations: 60.64 kB / 1.368 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of SimCode: time 4.9e-07/1.205, allocations: 0 / 1.368 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02401/1.229, allocations: 4.551 MB / 1.372 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001682/1.23, allocations: 169.1 kB / 1.373 GB, free: 28.31 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.744/2.973, allocations: 0 / 1.373 GB, free: 28.31 MB / 0.8386 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