Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.98/1.98, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.001011/0.001011, allocations: 172.4 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 221.3 MB / 0.7915 GB, free: 5.379 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.0008553/0.0008555, allocations: 84.02 kB / 0.9317 GB, free: 5.691 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.476e-05/2.486e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.1933, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6603/0.8537, allocations: 154 MB / 1.369 GB, free: 76 kB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001788/0.8539, allocations: 80.02 kB / 1.369 GB, free: 36 kB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03095/0.8848, allocations: 12.41 MB / 1.381 GB, free: 5.586 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.325e-06/0.8849, allocations: 0 / 1.381 GB, free: 5.586 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.625e-05/0.8849, allocations: 8 kB / 1.381 GB, free: 5.578 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0009834/0.8859, allocations: 0.5211 MB / 1.382 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.886, allocations: 16.03 kB / 1.382 GB, free: 4.996 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.876e-05/0.8861, allocations: 37.42 kB / 1.382 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.8862, allocations: 19.81 kB / 1.382 GB, free: 4.934 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005373/0.8867, allocations: 257.7 kB / 1.382 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.8867, allocations: 11.88 kB / 1.382 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.26e-05/0.8868, allocations: 27.8 kB / 1.382 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002087/0.887, allocations: 107.5 kB / 1.382 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.887, allocations: 0 / 1.382 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.887, allocations: 3.984 kB / 1.382 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.8871, allocations: 8 kB / 1.382 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.8872, allocations: 56.23 kB / 1.382 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008112/0.888, allocations: 0.5355 MB / 1.383 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.8881, allocations: 93.52 kB / 1.383 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.108e-05/0.8882, allocations: 50.34 kB / 1.383 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.8882, allocations: 3.938 kB / 1.383 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001671/0.8884, allocations: 124.7 kB / 1.383 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=15): time 1.403e-06/0.8884, allocations: 0 / 1.383 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15): time 0.0002579/0.8887, allocations: 125.7 kB / 1.383 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.8887, allocations: 89.12 kB / 1.383 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.8889, allocations: 181.3 kB / 1.384 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.8889, allocations: 32.7 kB / 1.384 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.47e-05/0.889, allocations: 122.7 kB / 1.384 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.671e-05/0.8891, allocations: 30.86 kB / 1.384 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-06/0.8891, allocations: 3.5 kB / 1.384 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.8892, allocations: 333.1 kB / 1.384 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.584e-05/0.8892, allocations: 29.38 kB / 1.384 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/0.8894, allocations: 131.2 kB / 1.384 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.566e-05/0.8895, allocations: 38.92 kB / 1.384 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.8895, allocations: 0 / 1.384 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000226/0.8897, allocations: 160.4 kB / 1.384 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.8898, allocations: 9.406 kB / 1.384 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.8898, allocations: 3.953 kB / 1.384 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.8898, allocations: 7.938 kB / 1.384 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.878e-05/0.8899, allocations: 12.16 kB / 1.384 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.8899, allocations: 15.92 kB / 1.384 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002086/0.8901, allocations: 30.27 kB / 1.385 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.8901, allocations: 10.69 kB / 1.385 GB, free: 2.418 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 (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 () * 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 9.33e-05/0.8902, allocations: 117.6 kB / 1.385 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.726e-05/0.8902, allocations: 15.81 kB / 1.385 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.545e-05/0.8903, allocations: 22.58 kB / 1.385 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.8903, allocations: 11.95 kB / 1.385 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.8903, allocations: 0 / 1.385 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.8903, allocations: 96 / 1.385 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005361/0.8909, allocations: 469.5 kB / 1.385 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.8909, allocations: 7.953 kB / 1.385 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.631e-05/0.8909, allocations: 7.938 kB / 1.385 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.8909, allocations: 0 / 1.385 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.8909, allocations: 7.25 kB / 1.385 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.891, allocations: 0 / 1.385 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.891, allocations: 0 / 1.385 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/0.8912, allocations: 252.3 kB / 1.385 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.884e-05/0.8912, allocations: 88.92 kB / 1.385 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.8913, allocations: 3.984 kB / 1.385 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.8914, allocations: 19.55 kB / 1.385 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.872e-05/0.8915, allocations: 23.53 kB / 1.386 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.353e-05/0.8915, allocations: 11.94 kB / 1.386 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001035/0.8916, allocations: 140.4 kB / 1.386 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8916, allocations: 4 kB / 1.386 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002755/0.8919, allocations: 43.12 kB / 1.386 GB, free: 1.215 MB / 0.8386 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 () * 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.0006868/0.8926, allocations: 0.9165 MB / 1.387 GB, free: 324 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001879/0.8928, allocations: 96.44 kB / 1.387 GB, free: 248 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.8928, allocations: 0 / 1.387 GB, free: 248 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.322e-05/0.8929, allocations: 50.3 kB / 1.387 GB, free: 208 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.8932, allocations: 58.58 kB / 1.387 GB, free: 160 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006304/0.8938, allocations: 283.5 kB / 1.387 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.8941, allocations: 0.7287 MB / 1.388 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.617e-05/0.8941, allocations: 21.55 kB / 1.388 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.465e-05/0.8942, allocations: 57.16 kB / 1.388 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of SimCode: time 3.81e-07/0.8942, allocations: 0 / 1.388 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01544/0.9097, allocations: 4.955 MB / 1.393 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001457/0.9098, allocations: 224.5 kB / 1.393 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.679/2.589, allocations: 0 / 1.393 GB, free: 10.07 MB / 0.8542 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat does not exist to compare? outputFormat=mat