Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007972/0.0007973, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007937/0.0007937, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 223.2 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.461/2.461, allocations: 390.4 MB / 0.6655 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005334/0.0005335, allocations: 15.94 kB / 0.8149 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7748/0.7754, allocations: 142.3 MB / 0.9538 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.001816/0.7772, allocations: 1.394 MB / 0.9552 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009262/0.7782, allocations: 0.5903 MB / 0.9558 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.867e-05/0.7783, allocations: 1.562 kB / 0.9558 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001954/0.7785, allocations: 28.97 kB / 0.9558 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002674/0.7787, allocations: 87.44 kB / 0.9559 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003341/0.7791, allocations: 138.5 kB / 0.956 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002192/0.7793, allocations: 179.7 kB / 0.9562 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.7795, allocations: 25.44 kB / 0.9562 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.7796, allocations: 91.42 kB / 0.9563 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004798/0.7844, allocations: 3.011 MB / 0.9593 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.514e-05/0.7845, allocations: 11.59 kB / 0.9593 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.7846, allocations: 28.98 kB / 0.9593 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.235e-05/0.7847, allocations: 31.05 kB / 0.9593 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.9e-05/0.7847, allocations: 49.08 kB / 0.9594 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000209/0.785, allocations: 131.8 kB / 0.9595 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.785, allocations: 1.188 kB / 0.9595 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.913e-06/0.785, allocations: 0 / 0.9595 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.785, allocations: 0 / 0.9595 GB, free: 4.934 MB / 0.7169 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.0006391/0.7856, allocations: 0.4898 MB / 0.96 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.7857, allocations: 9.062 kB / 0.96 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.057e-05/0.7857, allocations: 41.94 kB / 0.96 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.726e-05/0.7858, allocations: 16.91 kB / 0.96 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.7861, allocations: 235.8 kB / 0.9603 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.7861, allocations: 5.844 kB / 0.9603 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.336e-05/0.7861, allocations: 14.47 kB / 0.9603 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.7863, allocations: 78.31 kB / 0.9604 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.7863, allocations: 0 / 0.9604 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.7863, allocations: 4.953 kB / 0.9604 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.7864, allocations: 2.688 kB / 0.9604 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.367e-05/0.7865, allocations: 42.11 kB / 0.9604 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006445/0.7871, allocations: 460.7 kB / 0.9608 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.7872, allocations: 64.59 kB / 0.9609 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.777e-05/0.7873, allocations: 34.06 kB / 0.9609 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.7873, allocations: 5.109 kB / 0.9609 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000158/0.7875, allocations: 82.97 kB / 0.961 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.493e-06/0.7875, allocations: 4 kB / 0.961 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.0002592/0.7878, allocations: 129 kB / 0.9611 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.7878, allocations: 57.72 kB / 0.9612 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.788, allocations: 191.2 kB / 0.9614 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.788, allocations: 33.2 kB / 0.9614 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.854e-05/0.7881, allocations: 119.8 kB / 0.9615 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/0.7881, allocations: 26.3 kB / 0.9616 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-06/0.7881, allocations: 0 / 0.9616 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.278e-05/0.7882, allocations: 334.7 kB / 0.9619 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.8e-05/0.7882, allocations: 27.22 kB / 0.9619 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.7884, allocations: 116.8 kB / 0.962 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.777e-05/0.7885, allocations: 39.84 kB / 0.962 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.7885, allocations: 0 / 0.962 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001869/0.7887, allocations: 126 kB / 0.9622 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.7887, allocations: 6.969 kB / 0.9622 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.7887, allocations: 1.438 kB / 0.9622 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.7888, allocations: 2.125 kB / 0.9622 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.196e-05/0.7888, allocations: 18.64 kB / 0.9622 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.7889, allocations: 2 kB / 0.9622 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/0.789, allocations: 32.3 kB / 0.9622 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.789, allocations: 4.969 kB / 0.9622 GB, free: 2.449 MB / 0.7169 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 () * Number of clocked 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 0.0001052/0.7892, allocations: 136.6 kB / 0.9624 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.15e-05/0.7892, allocations: 18.44 kB / 0.9624 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.911e-05/0.7892, allocations: 20.92 kB / 0.9624 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.7892, allocations: 1.5 kB / 0.9624 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.7892, allocations: 0 / 0.9624 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.7893, allocations: 5.156 kB / 0.9624 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004396/0.7897, allocations: 447.8 kB / 0.9628 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.7897, allocations: 0 / 0.9628 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.116e-05/0.7897, allocations: 3.031 kB / 0.9628 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.7897, allocations: 1.156 kB / 0.9628 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.7898, allocations: 4 kB / 0.9628 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.7898, allocations: 5 kB / 0.9628 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.7898, allocations: 0.9375 kB / 0.9628 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001599/0.7899, allocations: 206.1 kB / 0.963 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.813e-05/0.79, allocations: 97.28 kB / 0.9631 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.356e-05/0.79, allocations: 1.312 kB / 0.9631 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.585e-05/0.7901, allocations: 10.8 kB / 0.9631 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.464e-05/0.7902, allocations: 18.67 kB / 0.9632 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.907e-05/0.7902, allocations: 8.984 kB / 0.9632 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.91e-05/0.7903, allocations: 133.4 kB / 0.9633 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7903, allocations: 0 / 0.9633 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003027/0.7906, allocations: 46.39 kB / 0.9633 GB, free: 1.449 MB / 0.7169 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 () * Number of clocked 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.0006017/0.7913, allocations: 0.8102 MB / 0.9641 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001898/0.7915, allocations: 80.25 kB / 0.9642 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.7915, allocations: 1.312 kB / 0.9642 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.261e-05/0.7915, allocations: 42.56 kB / 0.9643 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.7919, allocations: 35.97 kB / 0.9643 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.7932, allocations: 0.8294 MB / 0.9651 GB, free: 16 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.7935, allocations: 0.7168 MB / 0.9658 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.281e-05/0.7936, allocations: 28.73 kB / 0.9658 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.16e-05/0.7937, allocations: 41.8 kB / 0.9659 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.7937, allocations: 0 / 0.9659 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01597/0.8097, allocations: 4.547 MB / 0.9703 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000189/0.8099, allocations: 251.8 kB / 0.9705 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.942/2.752, allocations: 0 / 0.9705 GB, free: 12.77 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.fmu > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat does not exist to compare? outputFormat=mat