Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",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.385/2.385, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001545/0.001545, allocations: 173.2 kB / 498.1 MB, free: 5.758 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.751/1.751, allocations: 223.1 MB / 0.7948 GB, free: 17.96 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.0009667/0.0009667, allocations: 98.36 kB / 0.9346 GB, free: 6.262 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004331/0.000433, allocations: 10.41 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2765, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1883/0.4649, allocations: 153.2 MB / 1.373 GB, free: 8.809 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/0.4652, allocations: 75.97 kB / 1.373 GB, free: 8.734 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02512/0.4903, allocations: 8.563 MB / 1.381 GB, free: 144 kB / 0.8698 GB Notification: Performance of FrontEnd: time 2.124e-06/0.4904, allocations: 0 / 1.381 GB, free: 144 kB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.016e-05/0.4904, allocations: 4 kB / 1.381 GB, free: 140 kB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009767/0.4914, allocations: 0.5606 MB / 1.382 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.4915, allocations: 8.031 kB / 1.382 GB, free: 15.51 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.901e-05/0.4915, allocations: 50.48 kB / 1.382 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.4916, allocations: 27.72 kB / 1.382 GB, free: 15.42 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005668/0.4922, allocations: 254.6 kB / 1.382 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.4923, allocations: 11.94 kB / 1.382 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.425e-05/0.4923, allocations: 16 kB / 1.382 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/0.4925, allocations: 94.97 kB / 1.382 GB, free: 15.01 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.4925, allocations: 0 / 1.382 GB, free: 15.01 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.4926, allocations: 0 / 1.382 GB, free: 15.01 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.4926, allocations: 4 kB / 1.382 GB, free: 15 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.4927, allocations: 51.97 kB / 1.382 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008597/0.4936, allocations: 468.4 kB / 1.383 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000469/0.4941, allocations: 170.8 kB / 1.383 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.4941, allocations: 0 / 1.383 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001859/0.4943, allocations: 103.3 kB / 1.383 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=16): time 1.894e-06/0.4943, allocations: 0 / 1.383 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of matching and sorting (n=16): time 0.0003675/0.4947, allocations: 163.5 kB / 1.383 GB, free: 13.99 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.4947, allocations: 59.34 kB / 1.383 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/0.495, allocations: 185.6 kB / 1.383 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.871e-05/0.495, allocations: 33.7 kB / 1.383 GB, free: 13.69 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.4951, allocations: 116.5 kB / 1.383 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.993e-05/0.4952, allocations: 39.53 kB / 1.383 GB, free: 13.53 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.404e-06/0.4952, allocations: 4 kB / 1.383 GB, free: 13.53 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.4953, allocations: 326.8 kB / 1.384 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.008e-05/0.4954, allocations: 32.36 kB / 1.384 GB, free: 13.17 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/0.4956, allocations: 124.4 kB / 1.384 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.103e-05/0.4957, allocations: 36.72 kB / 1.384 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.4957, allocations: 224 / 1.384 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002513/0.496, allocations: 162.4 kB / 1.384 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.496, allocations: 7.938 kB / 1.384 GB, free: 12.81 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.496, allocations: 4 kB / 1.384 GB, free: 12.81 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.4961, allocations: 0 / 1.384 GB, free: 12.81 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.831e-05/0.4962, allocations: 19.94 kB / 1.384 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.4962, allocations: 4 kB / 1.384 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002396/0.4964, allocations: 27.88 kB / 1.384 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.4964, allocations: 8 kB / 1.384 GB, free: 12.75 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,$whenCondition5,$whenCondition4,$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,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * 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.0001325/0.4966, allocations: 135.6 kB / 1.384 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.986e-05/0.4966, allocations: 19.77 kB / 1.384 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.383e-05/0.4967, allocations: 25.86 kB / 1.384 GB, free: 12.56 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.4967, allocations: 4 kB / 1.384 GB, free: 12.56 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4967, allocations: 0 / 1.384 GB, free: 12.56 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.4967, allocations: 0 / 1.384 GB, free: 12.56 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006872/0.4974, allocations: 0.4904 MB / 1.385 GB, free: 12.01 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4974, allocations: 0 / 1.385 GB, free: 12.01 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.87e-05/0.4974, allocations: 7.984 kB / 1.385 GB, free: 12 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.4975, allocations: 0 / 1.385 GB, free: 12 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.4975, allocations: 8 kB / 1.385 GB, free: 12 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.4975, allocations: 4 kB / 1.385 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4975, allocations: 3.938 kB / 1.385 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002374/0.4977, allocations: 237.9 kB / 1.385 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.743e-05/0.4978, allocations: 88.92 kB / 1.385 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.76e-05/0.4978, allocations: 7.984 kB / 1.385 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.498, allocations: 19.98 kB / 1.385 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.363e-05/0.4981, allocations: 19.97 kB / 1.385 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.96e-05/0.4981, allocations: 8 kB / 1.385 GB, free: 11.58 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000117/0.4982, allocations: 139.2 kB / 1.385 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4982, allocations: 0 / 1.385 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003254/0.4986, allocations: 55.83 kB / 1.385 GB, free: 11.39 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.0007933/0.4994, allocations: 0.8525 MB / 1.386 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002312/0.4996, allocations: 98.14 kB / 1.386 GB, free: 10.44 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.4996, allocations: 0 / 1.386 GB, free: 10.44 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.871e-05/0.4997, allocations: 55.86 kB / 1.386 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.5001, allocations: 49.2 kB / 1.386 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.5012, allocations: 1.168 MB / 1.387 GB, free: 9.098 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.5015, allocations: 0.7245 MB / 1.388 GB, free: 8.348 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 9.876e-05/0.5016, allocations: 25.47 kB / 1.388 GB, free: 8.32 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.759e-05/0.5017, allocations: 51.42 kB / 1.388 GB, free: 8.273 MB / 0.8855 GB Notification: Performance of SimCode: time 3.5e-07/0.5017, allocations: 4 kB / 1.388 GB, free: 8.27 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01819/0.5199, allocations: 4.972 MB / 1.393 GB, free: 3.504 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001812/0.5201, allocations: 250.2 kB / 1.393 GB, free: 3.172 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.887/2.407, allocations: 0 / 1.393 GB, free: 3.172 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat does not exist to compare? outputFormat=mat