Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.PlotterActivationGlobalInput,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",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.0007529/0.0007529, 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.0008354/0.0008353, 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.41/1.41, allocations: 223.2 MB / 240 MB, free: 5.426 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.571/2.571, allocations: 390.4 MB / 0.6655 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003481/0.0003481, allocations: 8 kB / 0.8149 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.815/0.8154, allocations: 142.3 MB / 0.9538 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.002356/0.8178, allocations: 1.495 MB / 0.9553 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001567/0.8194, allocations: 0.8857 MB / 0.9562 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.8196, allocations: 1 kB / 0.9562 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002137/0.8198, allocations: 25.05 kB / 0.9562 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003483/0.8202, allocations: 103.6 kB / 0.9563 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003374/0.8205, allocations: 135.9 kB / 0.9564 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002454/0.8208, allocations: 205.2 kB / 0.9566 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.8209, allocations: 27.92 kB / 0.9566 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.821, allocations: 102.3 kB / 0.9567 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005076/0.8261, allocations: 3.137 MB / 0.9598 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.047e-05/0.8262, allocations: 8.562 kB / 0.9598 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.8263, allocations: 33.3 kB / 0.9598 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.993e-05/0.8264, allocations: 27.78 kB / 0.9599 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.843e-05/0.8264, allocations: 50.08 kB / 0.9599 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.8266, allocations: 140.9 kB / 0.9601 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.8266, allocations: 4 kB / 0.9601 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.237e-06/0.8267, allocations: 1.094 kB / 0.9601 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.8267, allocations: 3.938 kB / 0.9601 GB, free: 4.543 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007655/0.8274, allocations: 0.5161 MB / 0.9606 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.8275, allocations: 8.5 kB / 0.9606 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.402e-05/0.8275, allocations: 42.11 kB / 0.9606 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.311e-05/0.8276, allocations: 22.66 kB / 0.9606 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.8279, allocations: 235.2 kB / 0.9609 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.8279, allocations: 10.47 kB / 0.9609 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.381e-05/0.8279, allocations: 22.02 kB / 0.9609 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.8281, allocations: 90.12 kB / 0.961 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.8281, allocations: 0 / 0.961 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.8282, allocations: 5.312 kB / 0.961 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.8282, allocations: 1.469 kB / 0.961 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.8283, allocations: 55.88 kB / 0.961 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007126/0.829, allocations: 479 kB / 0.9615 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000359/0.8294, allocations: 158.3 kB / 0.9616 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.403e-05/0.8295, allocations: 44.33 kB / 0.9617 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.8295, allocations: 0 / 0.9617 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001875/0.8297, allocations: 108.5 kB / 0.9618 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.293e-06/0.8297, allocations: 0 / 0.9618 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0003104/0.83, allocations: 159 kB / 0.9619 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.83, allocations: 62.05 kB / 0.962 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.8302, allocations: 193 kB / 0.9622 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.858e-05/0.8303, allocations: 38.39 kB / 0.9622 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.372e-05/0.8303, allocations: 120.7 kB / 0.9623 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/0.8304, allocations: 33.8 kB / 0.9624 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.336e-06/0.8304, allocations: 4.875 kB / 0.9624 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.058e-05/0.8305, allocations: 334.6 kB / 0.9627 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.446e-05/0.8305, allocations: 34.73 kB / 0.9627 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001984/0.8307, allocations: 131 kB / 0.9629 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.422e-05/0.8308, allocations: 32.81 kB / 0.9629 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.8308, allocations: 1.312 kB / 0.9629 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000221/0.8311, allocations: 159 kB / 0.963 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.8311, allocations: 7.219 kB / 0.963 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.8311, allocations: 1.406 kB / 0.963 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.8311, allocations: 2.781 kB / 0.963 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.142e-05/0.8312, allocations: 26.77 kB / 0.9631 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.8312, allocations: 2.688 kB / 0.9631 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001983/0.8314, allocations: 28.8 kB / 0.9631 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.8314, allocations: 9.25 kB / 0.9631 GB, free: 1.895 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: 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.0001035/0.8315, allocations: 136.7 kB / 0.9632 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.8316, allocations: 22.86 kB / 0.9633 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.098e-05/0.8316, allocations: 21.97 kB / 0.9633 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.8316, allocations: 2.156 kB / 0.9633 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.8316, allocations: 0 / 0.9633 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.8316, allocations: 4.891 kB / 0.9633 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005941/0.8322, allocations: 0.4937 MB / 0.9638 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.8323, allocations: 4.875 kB / 0.9638 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.399e-05/0.8323, allocations: 2.625 kB / 0.9638 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.8323, allocations: 1.688 kB / 0.9638 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.8323, allocations: 9.016 kB / 0.9638 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.8323, allocations: 4.969 kB / 0.9638 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.8323, allocations: 0 / 0.9638 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002182/0.8326, allocations: 233.8 kB / 0.964 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.754e-05/0.8326, allocations: 98.06 kB / 0.9641 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.8326, allocations: 4.969 kB / 0.9641 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.8328, allocations: 19.45 kB / 0.9641 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.903e-05/0.8329, allocations: 29.27 kB / 0.9642 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.781e-05/0.8329, allocations: 6 kB / 0.9642 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001217/0.833, allocations: 140.7 kB / 0.9643 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.833, allocations: 0 / 0.9643 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003221/0.8334, allocations: 44 kB / 0.9643 GB, free: 0.8516 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: 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.0006668/0.834, allocations: 0.8394 MB / 0.9652 GB, free: 108 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002775/0.8343, allocations: 101 kB / 0.9653 GB, free: 68 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.8343, allocations: 1 kB / 0.9653 GB, free: 68 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.8344, allocations: 51.86 kB / 0.9653 GB, free: 48 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004083/0.8349, allocations: 51.98 kB / 0.9654 GB, free: 20 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.8365, allocations: 0.9382 MB / 0.9663 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003888/0.8369, allocations: 0.725 MB / 0.967 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.268e-05/0.837, allocations: 27.02 kB / 0.967 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.76e-05/0.8371, allocations: 55.28 kB / 0.9671 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of SimCode: time 4.4e-07/0.8372, allocations: 1.031 kB / 0.9671 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01767/0.8548, allocations: 5.066 MB / 0.972 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001993/0.8551, allocations: 254.1 kB / 0.9723 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.007/2.862, allocations: 0 / 0.9723 GB, free: 11.8 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.fmu > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat does not exist to compare? outputFormat=mat