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 1.945/1.945, allocations: 387.1 MB / 399.7 MB, free: 9.406 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.0009466/0.0009466, allocations: 188.8 kB / 492.3 MB, free: 0.6016 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.237/1.237, allocations: 221.3 MB / 0.7871 GB, free: 12.92 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007557/0.0007555, allocations: 99.41 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.709e-05/2.718e-05, allocations: 7.984 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2054, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6699/0.8753, allocations: 152.8 MB / 1.362 GB, free: 19 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001934/0.8756, allocations: 75.89 kB / 1.362 GB, free: 19 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01608/0.8916, allocations: 6.791 MB / 1.368 GB, free: 34.3 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.442e-06/0.8917, allocations: 0 / 1.368 GB, free: 34.3 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.894e-05/0.8917, allocations: 3.812 kB / 1.368 GB, free: 34.3 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.000577/0.8923, allocations: 0.5256 MB / 1.369 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.8923, allocations: 7.875 kB / 1.369 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.131e-05/0.8924, allocations: 44.34 kB / 1.369 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.723e-05/0.8924, allocations: 23.41 kB / 1.369 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004269/0.8929, allocations: 268.5 kB / 1.369 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.8929, allocations: 14.25 kB / 1.369 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.379e-05/0.8929, allocations: 15.22 kB / 1.369 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.8931, allocations: 107 kB / 1.369 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.8931, allocations: 3.938 kB / 1.369 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.8931, allocations: 7.828 kB / 1.369 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.8932, allocations: 0 / 1.369 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.569e-05/0.8933, allocations: 56.67 kB / 1.369 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006743/0.8939, allocations: 0.4955 MB / 1.37 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002179/0.8942, allocations: 105.2 kB / 1.37 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.917e-05/0.8942, allocations: 43.84 kB / 1.37 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.8943, allocations: 1.953 kB / 1.37 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001289/0.8944, allocations: 101.7 kB / 1.37 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.413e-06/0.8944, allocations: 0 / 1.37 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0002183/0.8946, allocations: 134.5 kB / 1.37 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.406e-05/0.8947, allocations: 62.44 kB / 1.37 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.8948, allocations: 177.5 kB / 1.371 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.8948, allocations: 33.23 kB / 1.371 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.94e-05/0.8949, allocations: 127.1 kB / 1.371 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/0.8949, allocations: 41.61 kB / 1.371 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.472e-05/0.895, allocations: 7.844 kB / 1.371 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.332e-05/0.895, allocations: 335.3 kB / 1.371 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.8951, allocations: 58.77 kB / 1.371 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.8953, allocations: 117.9 kB / 1.371 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.8954, allocations: 134.4 kB / 1.371 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.8954, allocations: 0 / 1.371 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004049/0.8958, allocations: 315.1 kB / 1.372 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.649e-05/0.8959, allocations: 64.78 kB / 1.372 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.8959, allocations: 8 kB / 1.372 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.8959, allocations: 0 / 1.372 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.564e-05/0.896, allocations: 22.38 kB / 1.372 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.896, allocations: 3.875 kB / 1.372 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001751/0.8962, allocations: 29.59 kB / 1.372 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/0.8962, allocations: 16.97 kB / 1.372 GB, free: 32.14 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.233e-05/0.8963, allocations: 135.5 kB / 1.372 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.104e-05/0.8963, allocations: 15.44 kB / 1.372 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002279/0.8966, allocations: 152.6 kB / 1.372 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.8966, allocations: 0 / 1.372 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.8966, allocations: 3.844 kB / 1.372 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.8966, allocations: 0 / 1.372 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004501/0.8971, allocations: 490.9 kB / 1.373 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.8971, allocations: 4 kB / 1.373 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.884e-05/0.8971, allocations: 10.66 kB / 1.373 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.8971, allocations: 3.938 kB / 1.373 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.8971, allocations: 7.406 kB / 1.373 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.8972, allocations: 0 / 1.373 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.8972, allocations: 0 / 1.373 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001786/0.8973, allocations: 234.5 kB / 1.373 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.43e-05/0.8974, allocations: 102.7 kB / 1.373 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.8974, allocations: 7.906 kB / 1.373 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.395e-05/0.8975, allocations: 10.16 kB / 1.373 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.663e-05/0.8976, allocations: 13.53 kB / 1.373 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.125e-05/0.8976, allocations: 14.45 kB / 1.373 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.678e-05/0.8977, allocations: 143.3 kB / 1.373 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8977, allocations: 0 / 1.373 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002777/0.898, allocations: 48.3 kB / 1.373 GB, free: 31.3 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.000598/0.8986, allocations: 0.845 MB / 1.374 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002661/0.8989, allocations: 245 kB / 1.374 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.8989, allocations: 0 / 1.374 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.894e-05/0.899, allocations: 51.12 kB / 1.374 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.8992, allocations: 64.98 kB / 1.374 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006205/0.8999, allocations: 290.6 kB / 1.375 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.9001, allocations: 0.7278 MB / 1.375 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.251e-05/0.9002, allocations: 29.09 kB / 1.375 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.233e-05/0.9003, allocations: 65.81 kB / 1.375 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of SimCode: time 2.8e-07/0.9003, allocations: 0 / 1.375 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01528/0.9156, allocations: 4.946 MB / 1.38 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000134/0.9158, allocations: 191 kB / 1.38 GB, free: 28.85 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.571/2.486, allocations: 0 / 1.38 GB, free: 28.85 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