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 2.344/2.344, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001395/0.001395, allocations: 180 kB / 0.4901 GB, free: 2.207 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.648/1.648, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.0008711/0.0008711, allocations: 97.94 kB / 0.9396 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003729/0.000373, allocations: 7.219 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2701, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1926/0.4627, allocations: 154 MB / 1.38 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003117/0.4631, allocations: 79.95 kB / 1.38 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.04505/0.5082, allocations: 12.46 MB / 1.392 GB, free: 2.773 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.006e-06/0.5082, allocations: 0 / 1.392 GB, free: 2.773 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.026e-05/0.5083, allocations: 8 kB / 1.392 GB, free: 2.766 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.001086/0.5094, allocations: 0.558 MB / 1.392 GB, free: 2.145 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.526e-05/0.5094, allocations: 8.562 kB / 1.392 GB, free: 2.137 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.94e-05/0.5095, allocations: 38.56 kB / 1.393 GB, free: 2.09 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.783e-05/0.5096, allocations: 27.72 kB / 1.393 GB, free: 2.062 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006514/0.5103, allocations: 254.6 kB / 1.393 GB, free: 1.773 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.5103, allocations: 8 kB / 1.393 GB, free: 1.766 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.189e-05/0.5104, allocations: 15.95 kB / 1.393 GB, free: 1.75 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002834/0.5107, allocations: 116 kB / 1.393 GB, free: 1.625 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.5107, allocations: 0 / 1.393 GB, free: 1.625 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.27e-05/0.5107, allocations: 7.984 kB / 1.393 GB, free: 1.617 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.5107, allocations: 4 kB / 1.393 GB, free: 1.613 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001578/0.5109, allocations: 51.97 kB / 1.393 GB, free: 1.562 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.512, allocations: 0.5474 MB / 1.394 GB, free: 0.9609 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002183/0.5123, allocations: 93.23 kB / 1.394 GB, free: 0.8516 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.942e-05/0.5123, allocations: 8.047 kB / 1.394 GB, free: 0.8438 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002456/0.5126, allocations: 125.2 kB / 1.394 GB, free: 0.7031 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=15): time 1.683e-06/0.5126, allocations: 0 / 1.394 GB, free: 0.7031 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15): time 0.0004679/0.5131, allocations: 157.5 kB / 1.394 GB, free: 0.5469 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.496e-05/0.5132, allocations: 85.05 kB / 1.394 GB, free: 456 kB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002477/0.5134, allocations: 189.3 kB / 1.394 GB, free: 256 kB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.176e-05/0.5135, allocations: 37.83 kB / 1.394 GB, free: 212 kB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.5136, allocations: 124.4 kB / 1.394 GB, free: 84 kB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.347e-05/0.5137, allocations: 35.64 kB / 1.394 GB, free: 48 kB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-05/0.5137, allocations: 4 kB / 1.394 GB, free: 44 kB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.5139, allocations: 326.8 kB / 1.395 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.459e-05/0.514, allocations: 32.36 kB / 1.395 GB, free: 15.68 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002851/0.5143, allocations: 136.3 kB / 1.395 GB, free: 15.52 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/0.5144, allocations: 39.92 kB / 1.395 GB, free: 15.48 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.5144, allocations: 0 / 1.395 GB, free: 15.48 MB / 0.9011 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000318/0.5147, allocations: 161.3 kB / 1.395 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.5148, allocations: 8 kB / 1.395 GB, free: 15.31 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.5148, allocations: 0 / 1.395 GB, free: 15.31 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.5148, allocations: 12.03 kB / 1.395 GB, free: 15.3 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.5149, allocations: 15.94 kB / 1.395 GB, free: 15.28 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/0.5149, allocations: 4 kB / 1.395 GB, free: 15.28 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003027/0.5153, allocations: 32.12 kB / 1.395 GB, free: 15.25 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.5153, allocations: 4 kB / 1.395 GB, free: 15.24 MB / 0.9011 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.0001737/0.5155, allocations: 147.5 kB / 1.395 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.245e-05/0.5155, allocations: 19.72 kB / 1.395 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.41e-05/0.5156, allocations: 21.52 kB / 1.395 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.5156, allocations: 7.953 kB / 1.395 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.5156, allocations: 0 / 1.395 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.5156, allocations: 4 kB / 1.395 GB, free: 15.03 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000797/0.5164, allocations: 466.4 kB / 1.396 GB, free: 14.52 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.5165, allocations: 0 / 1.396 GB, free: 14.52 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.063e-05/0.5165, allocations: 7.953 kB / 1.396 GB, free: 14.51 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.5165, allocations: 0 / 1.396 GB, free: 14.51 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.5165, allocations: 4 kB / 1.396 GB, free: 14.51 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.5165, allocations: 4 kB / 1.396 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.5166, allocations: 3.938 kB / 1.396 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003081/0.5169, allocations: 245.8 kB / 1.396 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 7.024e-05/0.517, allocations: 96.84 kB / 1.396 GB, free: 14.12 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.941e-05/0.517, allocations: 4 kB / 1.396 GB, free: 14.12 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000193/0.5172, allocations: 23.98 kB / 1.396 GB, free: 14.09 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.871e-05/0.5173, allocations: 19.97 kB / 1.396 GB, free: 14.07 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.368e-05/0.5173, allocations: 4 kB / 1.396 GB, free: 14.07 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001464/0.5175, allocations: 136.5 kB / 1.396 GB, free: 13.94 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5175, allocations: 3.938 kB / 1.396 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004793/0.518, allocations: 51.98 kB / 1.396 GB, free: 13.88 MB / 0.9011 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.001059/0.519, allocations: 0.9218 MB / 1.397 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0002927/0.5194, allocations: 99.83 kB / 1.397 GB, free: 12.86 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.5194, allocations: 0 / 1.397 GB, free: 12.86 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.5195, allocations: 48.23 kB / 1.397 GB, free: 12.81 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004601/0.52, allocations: 55.73 kB / 1.397 GB, free: 12.75 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.5217, allocations: 1.513 MB / 1.399 GB, free: 11.16 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/0.5221, allocations: 0.73 MB / 1.4 GB, free: 10.4 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001064/0.5222, allocations: 17.55 kB / 1.4 GB, free: 10.39 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.5223, allocations: 55.41 kB / 1.4 GB, free: 10.33 MB / 0.9011 GB Notification: Performance of SimCode: time 4.087e-06/0.5223, allocations: 0 / 1.4 GB, free: 10.33 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02318/0.5455, allocations: 4.918 MB / 1.404 GB, free: 5.621 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002842/0.5458, allocations: 244 kB / 1.405 GB, free: 5.336 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.785/2.331, allocations: 0 / 1.405 GB, free: 5.336 MB / 0.9011 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