Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",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.008/2.008, allocations: 390.5 MB / 398 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.0009679/0.0009678, allocations: 180.9 kB / 491.2 MB, free: 1.602 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.261/1.261, allocations: 221.5 MB / 0.7868 GB, free: 13.32 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.0007699/0.0007699, allocations: 91.41 kB / 0.9269 GB, free: 13.83 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.665e-05/1.667e-05, allocations: 9.547 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.1993, allocations: 143 MB / 1.212 GB, free: 39.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6841/0.8835, allocations: 153.3 MB / 1.362 GB, free: 17.12 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001749/0.8837, allocations: 75.62 kB / 1.362 GB, free: 17.12 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0202/0.9039, allocations: 8.525 MB / 1.371 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.322e-06/0.9039, allocations: 0 / 1.371 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.886e-05/0.904, allocations: 7.312 kB / 1.371 GB, free: 32.36 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005997/0.9046, allocations: 0.5319 MB / 1.371 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.9046, allocations: 11.59 kB / 1.371 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.343e-05/0.9047, allocations: 23.2 kB / 1.371 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004364/0.9051, allocations: 257.3 kB / 1.371 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.9052, allocations: 3.844 kB / 1.371 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.06e-05/0.9052, allocations: 7.75 kB / 1.371 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001136/0.9053, allocations: 51.7 kB / 1.371 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.9054, allocations: 78.25 kB / 1.371 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.9055, allocations: 4 kB / 1.371 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.9055, allocations: 5.891 kB / 1.371 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.9055, allocations: 0 / 1.371 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006206/0.9061, allocations: 434.3 kB / 1.372 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003526/0.9065, allocations: 148 kB / 1.372 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.712e-05/0.9065, allocations: 33.41 kB / 1.372 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.9066, allocations: 224 / 1.372 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001355/0.9067, allocations: 116.6 kB / 1.372 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.403e-06/0.9067, allocations: 0 / 1.372 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0002165/0.9069, allocations: 119.7 kB / 1.372 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.213e-05/0.907, allocations: 62.3 kB / 1.372 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.9071, allocations: 172.3 kB / 1.372 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.9071, allocations: 29.58 kB / 1.373 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.62e-05/0.9072, allocations: 114.2 kB / 1.373 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.9072, allocations: 37.98 kB / 1.373 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.162e-06/0.9073, allocations: 4 kB / 1.373 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.079e-05/0.9074, allocations: 328.2 kB / 1.373 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.871e-05/0.9074, allocations: 23.38 kB / 1.373 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.9075, allocations: 118 kB / 1.373 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.411e-05/0.9076, allocations: 34.31 kB / 1.373 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.9076, allocations: 0 / 1.373 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001675/0.9078, allocations: 132.5 kB / 1.373 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.9078, allocations: 5.094 kB / 1.373 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.9078, allocations: 3.875 kB / 1.373 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.9078, allocations: 0 / 1.373 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.406e-05/0.9079, allocations: 22.7 kB / 1.373 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.9079, allocations: 7.828 kB / 1.373 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002016/0.9081, allocations: 25.58 kB / 1.373 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.9081, allocations: 7.719 kB / 1.373 GB, free: 30.46 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: 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 () * 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 8.509e-05/0.9082, allocations: 115.5 kB / 1.373 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001322/0.9083, allocations: 125.1 kB / 1.374 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.877e-05/0.9084, allocations: 19.62 kB / 1.374 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.72e-05/0.9084, allocations: 19.22 kB / 1.374 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.9084, allocations: 3.953 kB / 1.374 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.9084, allocations: 0 / 1.374 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.9084, allocations: 3.141 kB / 1.374 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004788/0.9089, allocations: 455.2 kB / 1.374 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.9089, allocations: 3.875 kB / 1.374 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.434e-05/0.909, allocations: 7.891 kB / 1.374 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.909, allocations: 6.922 kB / 1.374 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.909, allocations: 3.812 kB / 1.374 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.909, allocations: 3.938 kB / 1.374 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.909, allocations: 0 / 1.374 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001674/0.9092, allocations: 222.7 kB / 1.374 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.396e-05/0.9092, allocations: 95.33 kB / 1.374 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/0.9093, allocations: 3.953 kB / 1.374 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.9094, allocations: 17.14 kB / 1.374 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.31e-05/0.9094, allocations: 23.88 kB / 1.374 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.389e-05/0.9095, allocations: 10.91 kB / 1.374 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.108e-05/0.9096, allocations: 138.2 kB / 1.375 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9096, allocations: 0 / 1.375 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002731/0.9099, allocations: 46.39 kB / 1.375 GB, free: 29.65 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: 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 () * 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.0006258/0.9105, allocations: 0.822 MB / 1.375 GB, free: 28.95 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001685/0.9107, allocations: 89.83 kB / 1.376 GB, free: 28.94 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.9107, allocations: 0 / 1.376 GB, free: 28.94 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.433e-05/0.9107, allocations: 45.06 kB / 1.376 GB, free: 28.94 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.9111, allocations: 50.91 kB / 1.376 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005062/0.9116, allocations: 247.3 kB / 1.376 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.9118, allocations: 0.7293 MB / 1.377 GB, free: 28.08 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.47e-05/0.9119, allocations: 27.22 kB / 1.377 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.134e-05/0.912, allocations: 54.95 kB / 1.377 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of SimCode: time 2.31e-07/0.912, allocations: 0 / 1.377 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02265/0.9347, allocations: 4.555 MB / 1.381 GB, free: 27.58 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001743/0.9349, allocations: 211 kB / 1.381 GB, free: 27.29 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.7/2.635, allocations: 7.875 kB / 1.381 GB, free: 27.29 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat does not exist to compare? outputFormat=mat