Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",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/2, allocations: 387.1 MB / 399.7 MB, free: 9.473 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.001065/0.001065, allocations: 180 kB / 492.3 MB, free: 0.6328 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.277/1.277, allocations: 221.3 MB / 0.7871 GB, free: 13 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.0008367/0.0008367, allocations: 99.11 kB / 0.9267 GB, free: 14.06 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.445e-05/2.447e-05, allocations: 7.984 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1972, allocations: 142.4 MB / 1.212 GB, free: 38.47 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7643/0.9615, allocations: 153.2 MB / 1.362 GB, free: 18.96 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001906/0.9617, allocations: 80.98 kB / 1.362 GB, free: 18.96 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02873/0.9905, allocations: 13.37 MB / 1.375 GB, free: 33.92 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.323e-06/0.9905, allocations: 3.844 kB / 1.375 GB, free: 33.92 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.259e-05/0.9905, allocations: 0 / 1.375 GB, free: 33.92 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.0005167/0.9911, allocations: 0.5264 MB / 1.376 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.9911, allocations: 11.5 kB / 1.376 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.209e-05/0.9911, allocations: 40.64 kB / 1.376 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.305e-05/0.9912, allocations: 19.06 kB / 1.376 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000402/0.9916, allocations: 251.2 kB / 1.376 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.9916, allocations: 10.81 kB / 1.376 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.309e-05/0.9917, allocations: 18.84 kB / 1.376 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.9918, allocations: 117 kB / 1.376 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.9919, allocations: 0 / 1.376 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.9919, allocations: 3.844 kB / 1.376 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.9919, allocations: 0 / 1.376 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.164e-05/0.992, allocations: 52.41 kB / 1.376 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006505/0.9926, allocations: 0.5625 MB / 1.377 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.9928, allocations: 93.38 kB / 1.377 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.857e-05/0.9928, allocations: 38.41 kB / 1.377 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.9929, allocations: 192 / 1.377 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001331/0.993, allocations: 120.4 kB / 1.377 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=15): time 1.092e-06/0.993, allocations: 0 / 1.377 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15): time 0.0002027/0.9932, allocations: 129.6 kB / 1.377 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.396e-05/0.9933, allocations: 80.94 kB / 1.377 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.9934, allocations: 183.8 kB / 1.377 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.9934, allocations: 32.83 kB / 1.377 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.004e-05/0.9935, allocations: 120.3 kB / 1.378 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.9935, allocations: 38.02 kB / 1.378 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.733e-06/0.9935, allocations: 3.625 kB / 1.378 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.065e-05/0.9936, allocations: 327.2 kB / 1.378 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.984e-05/0.9937, allocations: 33.75 kB / 1.378 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.9938, allocations: 137 kB / 1.378 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.194e-05/0.9939, allocations: 31.75 kB / 1.378 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.9939, allocations: 3.938 kB / 1.378 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001799/0.9941, allocations: 160.8 kB / 1.378 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.9941, allocations: 7.688 kB / 1.378 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.9941, allocations: 0 / 1.378 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.9941, allocations: 11.55 kB / 1.378 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.323e-05/0.9942, allocations: 15.31 kB / 1.378 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.9942, allocations: 7.891 kB / 1.378 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/0.9944, allocations: 26.02 kB / 1.378 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.9944, allocations: 11.19 kB / 1.378 GB, free: 31.74 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 7.07e-05/0.9945, allocations: 125 kB / 1.378 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.145e-05/0.9945, allocations: 15.66 kB / 1.378 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.807e-05/0.9945, allocations: 28.92 kB / 1.379 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.9946, allocations: 3.969 kB / 1.379 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.9946, allocations: 3.953 kB / 1.379 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.9946, allocations: 0 / 1.379 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000422/0.995, allocations: 473.6 kB / 1.379 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.995, allocations: 0 / 1.379 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.132e-05/0.995, allocations: 7.812 kB / 1.379 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.995, allocations: 3.953 kB / 1.379 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.9951, allocations: 6.969 kB / 1.379 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.9951, allocations: 0 / 1.379 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.9951, allocations: 0 / 1.379 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001571/0.9952, allocations: 237.2 kB / 1.379 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.467e-05/0.9953, allocations: 100.4 kB / 1.379 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.9953, allocations: 7.734 kB / 1.379 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.9954, allocations: 19.48 kB / 1.379 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.095e-05/0.9955, allocations: 19.16 kB / 1.379 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.176e-05/0.9955, allocations: 7.688 kB / 1.379 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.188e-05/0.9956, allocations: 151.1 kB / 1.38 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9956, allocations: 0 / 1.38 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002527/0.9959, allocations: 38.06 kB / 1.38 GB, free: 30.84 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.0005785/0.9964, allocations: 0.9319 MB / 1.38 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001608/0.9966, allocations: 90.28 kB / 1.381 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.9966, allocations: 0 / 1.381 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.948e-05/0.9967, allocations: 55.86 kB / 1.381 GB, free: 30 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.997, allocations: 47.12 kB / 1.381 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004542/0.9974, allocations: 266.7 kB / 1.381 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002372/0.9977, allocations: 0.7318 MB / 1.382 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.16e-05/0.9978, allocations: 17.05 kB / 1.382 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.485e-05/0.9978, allocations: 56.84 kB / 1.382 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/0.9978, allocations: 0 / 1.382 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01448/1.012, allocations: 4.964 MB / 1.387 GB, free: 26.67 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001509/1.013, allocations: 228.5 kB / 1.387 GB, free: 26.44 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.594/2.607, allocations: 0 / 1.387 GB, free: 26.44 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.fmu > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat does not exist to compare? outputFormat=mat