Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.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.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",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.947/1.947, allocations: 390.3 MB / 402.8 MB, free: 6.652 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.0009567/0.0009567, allocations: 180.9 kB / 496.1 MB, free: 12.86 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.264/1.264, allocations: 221.3 MB / 0.7915 GB, free: 5.445 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.0008468/0.0008468, allocations: 91.89 kB / 0.9317 GB, free: 5.754 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.289e-05/2.3e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.1974, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6762/0.8736, allocations: 152.9 MB / 1.368 GB, free: 1.145 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001724/0.8738, allocations: 78.94 kB / 1.368 GB, free: 1.102 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01668/0.8905, allocations: 6.75 MB / 1.375 GB, free: 11.39 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.102e-06/0.8905, allocations: 0 / 1.375 GB, free: 11.39 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.346e-05/0.8906, allocations: 7.938 kB / 1.375 GB, free: 11.39 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005145/0.8911, allocations: 0.504 MB / 1.375 GB, free: 10.84 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.8911, allocations: 12.03 kB / 1.375 GB, free: 10.83 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.414e-05/0.8912, allocations: 34 kB / 1.375 GB, free: 10.79 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.16e-05/0.8912, allocations: 19.81 kB / 1.375 GB, free: 10.77 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004335/0.8917, allocations: 252.9 kB / 1.376 GB, free: 10.5 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.8917, allocations: 11.73 kB / 1.376 GB, free: 10.49 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.015e-05/0.8917, allocations: 8 kB / 1.376 GB, free: 10.48 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.8919, allocations: 82.92 kB / 1.376 GB, free: 10.41 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.8919, allocations: 0 / 1.376 GB, free: 10.41 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.8919, allocations: 11.56 kB / 1.376 GB, free: 10.41 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.8919, allocations: 4 kB / 1.376 GB, free: 10.4 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.763e-05/0.892, allocations: 38.38 kB / 1.376 GB, free: 10.38 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006458/0.8927, allocations: 447.2 kB / 1.376 GB, free: 9.941 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.8928, allocations: 67.5 kB / 1.376 GB, free: 9.879 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.259e-05/0.8928, allocations: 31.17 kB / 1.376 GB, free: 9.855 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.8929, allocations: 4 kB / 1.376 GB, free: 9.852 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001119/0.893, allocations: 78.66 kB / 1.376 GB, free: 9.773 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=12): time 1.343e-06/0.893, allocations: 0 / 1.376 GB, free: 9.773 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12): time 0.0001982/0.8932, allocations: 108.7 kB / 1.377 GB, free: 9.676 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.8932, allocations: 59.53 kB / 1.377 GB, free: 9.605 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.8934, allocations: 167.2 kB / 1.377 GB, free: 9.457 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.156e-05/0.8934, allocations: 29.7 kB / 1.377 GB, free: 9.422 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.597e-05/0.8935, allocations: 121.2 kB / 1.377 GB, free: 9.316 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.8935, allocations: 25.89 kB / 1.377 GB, free: 9.297 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-06/0.8935, allocations: 7.625 kB / 1.377 GB, free: 9.293 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.513e-05/0.8936, allocations: 325.6 kB / 1.377 GB, free: 8.973 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.178e-05/0.8937, allocations: 21.69 kB / 1.377 GB, free: 8.957 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001443/0.8938, allocations: 115.6 kB / 1.377 GB, free: 8.836 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.644e-05/0.8939, allocations: 36.69 kB / 1.377 GB, free: 8.805 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.8939, allocations: 0 / 1.377 GB, free: 8.805 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001797/0.8941, allocations: 126.8 kB / 1.378 GB, free: 8.695 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.8941, allocations: 9.375 kB / 1.378 GB, free: 8.688 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.8941, allocations: 4 kB / 1.378 GB, free: 8.684 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.8941, allocations: 3.984 kB / 1.378 GB, free: 8.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.925e-05/0.8942, allocations: 15.94 kB / 1.378 GB, free: 8.664 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.8942, allocations: 0 / 1.378 GB, free: 8.664 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.8944, allocations: 27.56 kB / 1.378 GB, free: 8.641 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.8944, allocations: 4 kB / 1.378 GB, free: 8.637 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,scaDel.active,$PRE.scaDel.tActivateLast,scaDel.tActivateLast,scaDel.sampleTrigger,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.513e-05/0.8945, allocations: 128.5 kB / 1.378 GB, free: 8.512 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.778e-05/0.8945, allocations: 19.81 kB / 1.378 GB, free: 8.492 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.441e-05/0.8946, allocations: 20.14 kB / 1.378 GB, free: 8.48 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.8946, allocations: 0 / 1.378 GB, free: 8.48 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.8946, allocations: 0 / 1.378 GB, free: 8.48 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.8946, allocations: 0 / 1.378 GB, free: 8.48 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004292/0.895, allocations: 436.9 kB / 1.378 GB, free: 8.039 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.895, allocations: 0 / 1.378 GB, free: 8.039 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.762e-05/0.8951, allocations: 7.984 kB / 1.378 GB, free: 8.031 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.8951, allocations: 48 / 1.378 GB, free: 8.031 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.8951, allocations: 3.984 kB / 1.378 GB, free: 8.027 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.8951, allocations: 4 kB / 1.378 GB, free: 8.023 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.8951, allocations: 0 / 1.378 GB, free: 8.023 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001586/0.8953, allocations: 207.5 kB / 1.378 GB, free: 7.82 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.288e-05/0.8953, allocations: 95.34 kB / 1.378 GB, free: 7.711 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.8954, allocations: 4 kB / 1.378 GB, free: 7.707 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.609e-05/0.8954, allocations: 11 kB / 1.378 GB, free: 7.699 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/0.8955, allocations: 11.97 kB / 1.378 GB, free: 7.688 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/0.8955, allocations: 11.38 kB / 1.378 GB, free: 7.68 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.387e-05/0.8956, allocations: 134.8 kB / 1.379 GB, free: 7.562 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8956, allocations: 0 / 1.379 GB, free: 7.562 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002436/0.8959, allocations: 41.19 kB / 1.379 GB, free: 7.527 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: 11 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0005739/0.8965, allocations: 0.8121 MB / 1.379 GB, free: 6.73 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001551/0.8966, allocations: 78.55 kB / 1.38 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.8966, allocations: 0 / 1.38 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.146e-05/0.8967, allocations: 38.94 kB / 1.38 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.897, allocations: 50.73 kB / 1.38 GB, free: 6.598 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005323/0.8975, allocations: 239.9 kB / 1.38 GB, free: 6.352 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.8978, allocations: 0.7166 MB / 1.381 GB, free: 5.605 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.852e-05/0.8978, allocations: 21.27 kB / 1.381 GB, free: 5.586 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.732e-05/0.8979, allocations: 48.8 kB / 1.381 GB, free: 5.562 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/0.8979, allocations: 0 / 1.381 GB, free: 5.562 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0147/0.9126, allocations: 4.491 MB / 1.385 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000175/0.9128, allocations: 212.3 kB / 1.385 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.483/2.396, allocations: 0 / 1.385 GB, free: 1.043 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat does not exist to compare? outputFormat=mat