Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",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.312/2.312, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.00106/0.00106, allocations: 187.3 kB / 498.1 MB, free: 5.746 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.478/1.478, allocations: 223.2 MB / 0.7948 GB, free: 17.83 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.0008967/0.0008966, allocations: 98.55 kB / 0.9346 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003372/0.0003372, allocations: 6.969 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2844, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1863/0.4707, allocations: 153.2 MB / 1.373 GB, free: 8.723 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/0.471, allocations: 83.95 kB / 1.373 GB, free: 8.641 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03422/0.5053, allocations: 12.46 MB / 1.385 GB, free: 12.13 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.225e-06/0.5053, allocations: 0 / 1.385 GB, free: 12.13 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.368e-05/0.5054, allocations: 11.94 kB / 1.385 GB, free: 12.12 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0008797/0.5063, allocations: 0.557 MB / 1.385 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.5063, allocations: 8.031 kB / 1.385 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.64e-05/0.5064, allocations: 42.55 kB / 1.385 GB, free: 11.44 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.492e-05/0.5065, allocations: 15.81 kB / 1.385 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005169/0.507, allocations: 254.7 kB / 1.386 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.507, allocations: 12 kB / 1.386 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.786e-05/0.5071, allocations: 27.89 kB / 1.386 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002229/0.5073, allocations: 105.1 kB / 1.386 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.5073, allocations: 0 / 1.386 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.5074, allocations: 8 kB / 1.386 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.5074, allocations: 0 / 1.386 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.5075, allocations: 57 kB / 1.386 GB, free: 10.92 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008818/0.5084, allocations: 0.5475 MB / 1.386 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.5086, allocations: 93.12 kB / 1.386 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.5086, allocations: 192 / 1.386 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001857/0.5088, allocations: 133 kB / 1.387 GB, free: 10.06 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=15): time 1.362e-06/0.5088, allocations: 0 / 1.387 GB, free: 10.06 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15): time 0.0003482/0.5091, allocations: 156.9 kB / 1.387 GB, free: 9.906 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.5092, allocations: 85.09 kB / 1.387 GB, free: 9.805 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.5094, allocations: 185.6 kB / 1.387 GB, free: 9.609 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.565e-05/0.5094, allocations: 29.7 kB / 1.387 GB, free: 9.574 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.567e-05/0.5095, allocations: 128.4 kB / 1.387 GB, free: 9.445 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.5096, allocations: 27.61 kB / 1.387 GB, free: 9.418 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.365e-06/0.5096, allocations: 4 kB / 1.387 GB, free: 9.414 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.5097, allocations: 335 kB / 1.388 GB, free: 9.078 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.532e-05/0.5098, allocations: 28.36 kB / 1.388 GB, free: 9.051 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002198/0.51, allocations: 140.2 kB / 1.388 GB, free: 8.883 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.65e-05/0.5101, allocations: 36 kB / 1.388 GB, free: 8.848 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.5101, allocations: 0 / 1.388 GB, free: 8.848 MB / 0.8855 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002484/0.5104, allocations: 165.3 kB / 1.388 GB, free: 8.68 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.5104, allocations: 4 kB / 1.388 GB, free: 8.676 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.5104, allocations: 8.156 kB / 1.388 GB, free: 8.668 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.5104, allocations: 7.953 kB / 1.388 GB, free: 8.66 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.959e-05/0.5105, allocations: 15.98 kB / 1.388 GB, free: 8.645 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.5105, allocations: 7.922 kB / 1.388 GB, free: 8.637 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002275/0.5108, allocations: 31.83 kB / 1.388 GB, free: 8.605 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.5108, allocations: 8 kB / 1.388 GB, free: 8.598 MB / 0.8855 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 (plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,$whenCondition2,$whenCondition4,$whenCondition3,$whenCondition1,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,scaDel.active,$PRE.scaDel.tActivateLast,scaDel.tActivateLast,scaDel.sampleTrigger,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * 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.0001282/0.5109, allocations: 139.7 kB / 1.388 GB, free: 8.453 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.957e-05/0.511, allocations: 19.8 kB / 1.388 GB, free: 8.434 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.684e-05/0.511, allocations: 17.53 kB / 1.388 GB, free: 8.414 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.511, allocations: 7.953 kB / 1.388 GB, free: 8.406 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.511, allocations: 0 / 1.388 GB, free: 8.406 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.511, allocations: 0 / 1.388 GB, free: 8.406 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005784/0.5116, allocations: 474.3 kB / 1.389 GB, free: 7.887 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.5116, allocations: 0 / 1.389 GB, free: 7.887 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.085e-05/0.5117, allocations: 11.89 kB / 1.389 GB, free: 7.875 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.5117, allocations: 3.938 kB / 1.389 GB, free: 7.871 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.5117, allocations: 11.92 kB / 1.389 GB, free: 7.859 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.5117, allocations: 4 kB / 1.389 GB, free: 7.855 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5117, allocations: 0 / 1.389 GB, free: 7.855 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002269/0.512, allocations: 245.8 kB / 1.389 GB, free: 7.59 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.442e-05/0.512, allocations: 92.91 kB / 1.389 GB, free: 7.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.5121, allocations: 4 kB / 1.389 GB, free: 7.477 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.5122, allocations: 19.92 kB / 1.389 GB, free: 7.457 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.579e-05/0.5123, allocations: 19.97 kB / 1.389 GB, free: 7.438 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.169e-05/0.5123, allocations: 15.98 kB / 1.389 GB, free: 7.422 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001199/0.5125, allocations: 143 kB / 1.389 GB, free: 7.281 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5125, allocations: 0 / 1.389 GB, free: 7.281 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003187/0.5128, allocations: 43.98 kB / 1.389 GB, free: 7.238 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008209/0.5136, allocations: 0.9217 MB / 1.39 GB, free: 6.309 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002233/0.5138, allocations: 95.91 kB / 1.39 GB, free: 6.215 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.5139, allocations: 4 kB / 1.39 GB, free: 6.211 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.631e-05/0.514, allocations: 47.92 kB / 1.39 GB, free: 6.164 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.5143, allocations: 55.61 kB / 1.39 GB, free: 6.109 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.5156, allocations: 1.509 MB / 1.392 GB, free: 4.516 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/0.5159, allocations: 0.7261 MB / 1.392 GB, free: 3.766 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.982e-05/0.516, allocations: 29.52 kB / 1.392 GB, free: 3.738 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.736e-05/0.516, allocations: 51.42 kB / 1.393 GB, free: 3.691 MB / 0.8855 GB Notification: Performance of SimCode: time 3.71e-07/0.5161, allocations: 0 / 1.393 GB, free: 3.691 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02097/0.537, allocations: 4.9 MB / 1.397 GB, free: 14.99 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002348/0.5373, allocations: 253.2 kB / 1.398 GB, free: 14.74 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.053/2.59, allocations: 0 / 1.398 GB, free: 14.74 MB / 0.9011 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.fmu > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat does not exist to compare? outputFormat=mat