Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",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.0009844/0.0009842, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.0009784/0.0009784, allocations: 177.3 kB / 15.95 MB, free: 216 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.445/1.445, allocations: 223.2 MB / 239.9 MB, free: 5.355 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.421/2.421, allocations: 390.3 MB / 0.6653 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003595/0.0003595, allocations: 8 kB / 0.8146 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.768/0.7684, allocations: 142.3 MB / 0.9536 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.002802/0.7712, allocations: 1.48 MB / 0.955 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001706/0.773, allocations: 0.8858 MB / 0.9559 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000194/0.7732, allocations: 1.156 kB / 0.9559 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001992/0.7734, allocations: 31.91 kB / 0.9559 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000475/0.7739, allocations: 104.7 kB / 0.956 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004683/0.7744, allocations: 143.3 kB / 0.9562 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003275/0.7747, allocations: 140.1 kB / 0.9563 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/0.7749, allocations: 41.31 kB / 0.9563 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002001/0.7751, allocations: 94.3 kB / 0.9564 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001766/0.7769, allocations: 1.117 MB / 0.9575 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.612e-05/0.7769, allocations: 7.406 kB / 0.9575 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.7771, allocations: 16.19 kB / 0.9575 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.852e-05/0.7771, allocations: 35.03 kB / 0.9576 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.415e-05/0.7772, allocations: 54.36 kB / 0.9576 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.7775, allocations: 139.2 kB / 0.9578 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.7775, allocations: 4 kB / 0.9578 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.585e-06/0.7775, allocations: 0 / 0.9578 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.857e-06/0.7775, allocations: 0 / 0.9578 GB, free: 5.211 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0008589/0.7784, allocations: 0.5286 MB / 0.9583 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.7784, allocations: 9.625 kB / 0.9583 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.869e-05/0.7785, allocations: 41.3 kB / 0.9583 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.964e-05/0.7786, allocations: 22.72 kB / 0.9583 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/0.7789, allocations: 235.3 kB / 0.9586 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/0.7789, allocations: 14.86 kB / 0.9586 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.666e-05/0.779, allocations: 11 kB / 0.9586 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.7792, allocations: 117.3 kB / 0.9587 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.7792, allocations: 7.938 kB / 0.9587 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.7792, allocations: 5.375 kB / 0.9587 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.7792, allocations: 1.375 kB / 0.9587 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.7793, allocations: 48.84 kB / 0.9588 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008853/0.7802, allocations: 0.555 MB / 0.9593 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/0.7804, allocations: 102.4 kB / 0.9594 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.7805, allocations: 1.094 kB / 0.9594 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000232/0.7807, allocations: 121.4 kB / 0.9595 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.402e-06/0.7807, allocations: 0 / 0.9595 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0003835/0.7811, allocations: 162.1 kB / 0.9597 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.7811, allocations: 84.23 kB / 0.9598 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/0.7814, allocations: 198.8 kB / 0.9599 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.822e-05/0.7814, allocations: 37.67 kB / 0.96 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.226e-05/0.7815, allocations: 125.8 kB / 0.9601 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.142e-05/0.7815, allocations: 37.05 kB / 0.9601 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.546e-06/0.7815, allocations: 4.938 kB / 0.9601 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.689e-05/0.7816, allocations: 330.8 kB / 0.9605 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.213e-05/0.7817, allocations: 38.58 kB / 0.9605 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.782, allocations: 131.1 kB / 0.9606 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.314e-05/0.7821, allocations: 51.7 kB / 0.9607 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.7821, allocations: 0.9688 kB / 0.9607 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000265/0.7823, allocations: 151.9 kB / 0.9608 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.7824, allocations: 6.188 kB / 0.9608 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.7824, allocations: 5.484 kB / 0.9608 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.7824, allocations: 6.734 kB / 0.9608 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.7825, allocations: 20.34 kB / 0.9609 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.7825, allocations: 2.938 kB / 0.9609 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002407/0.7828, allocations: 33.08 kB / 0.9609 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.389e-05/0.7828, allocations: 14.02 kB / 0.9609 GB, free: 2.387 MB / 0.7169 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.0001266/0.7829, allocations: 136.5 kB / 0.961 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.053e-05/0.783, allocations: 20.38 kB / 0.9611 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.332e-05/0.783, allocations: 21.52 kB / 0.9611 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.7831, allocations: 2 kB / 0.9611 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.7831, allocations: 8.953 kB / 0.9611 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.7831, allocations: 1.031 kB / 0.9611 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005881/0.7837, allocations: 471.9 kB / 0.9615 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.7837, allocations: 0 / 0.9615 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.654e-05/0.7837, allocations: 8.062 kB / 0.9615 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.7837, allocations: 8.828 kB / 0.9615 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.7837, allocations: 2.156 kB / 0.9616 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.7838, allocations: 1 kB / 0.9616 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.7838, allocations: 1 kB / 0.9616 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000231/0.784, allocations: 238.2 kB / 0.9618 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.162e-05/0.7841, allocations: 113.8 kB / 0.9619 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.891e-05/0.7841, allocations: 1.969 kB / 0.9619 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.7842, allocations: 19.27 kB / 0.9619 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.389e-05/0.7843, allocations: 16.78 kB / 0.9619 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.821e-05/0.7844, allocations: 9.688 kB / 0.9619 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001207/0.7845, allocations: 137.5 kB / 0.9621 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7845, allocations: 0 / 0.9621 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003497/0.7848, allocations: 55.64 kB / 0.9621 GB, free: 1.332 MB / 0.7169 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.0006826/0.7855, allocations: 0.9111 MB / 0.963 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002631/0.7858, allocations: 96.86 kB / 0.9631 GB, free: 480 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.7858, allocations: 4.062 kB / 0.9631 GB, free: 476 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.7859, allocations: 57.28 kB / 0.9632 GB, free: 452 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.7863, allocations: 51.64 kB / 0.9632 GB, free: 424 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.7878, allocations: 1.494 MB / 0.9647 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004335/0.7883, allocations: 0.7259 MB / 0.9654 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001371/0.7884, allocations: 26.91 kB / 0.9654 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.7885, allocations: 55.97 kB / 0.9655 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of SimCode: time 8.51e-07/0.7886, allocations: 0 / 0.9655 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02173/0.8103, allocations: 4.947 MB / 0.9703 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003458/0.8107, allocations: 256 kB / 0.9705 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.852/2.662, allocations: 3.938 kB / 0.9705 GB, free: 11.49 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.fmu > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat does not exist to compare? outputFormat=mat