Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",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.001434/0.001434, allocations: 99.36 kB / 15.33 MB, free: 0.5078 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.00165/0.00165, allocations: 192.3 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.497/1.497, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.767/1.767, allocations: 292.3 MB / 0.5486 GB, free: 13.6 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002651/0.002651, allocations: 72.39 kB / 0.6711 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2348, allocations: 114.6 MB / 0.783 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003678/0.2385, allocations: 1.893 MB / 0.7848 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00189/0.2404, allocations: 0.9679 MB / 0.7858 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001695/0.2406, allocations: 7.938 kB / 0.7858 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001966/0.2408, allocations: 27.84 kB / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003277/0.2411, allocations: 91.67 kB / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003391/0.2415, allocations: 152.7 kB / 0.786 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002361/0.2417, allocations: 243.3 kB / 0.7863 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.2419, allocations: 33.89 kB / 0.7863 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.242, allocations: 111.6 kB / 0.7864 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02568/0.2677, allocations: 2.004 MB / 0.7884 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.462e-05/0.2678, allocations: 20 kB / 0.7884 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.2679, allocations: 43.98 kB / 0.7884 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.927e-05/0.268, allocations: 39.83 kB / 0.7885 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.2681, allocations: 95.5 kB / 0.7885 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003131/0.2684, allocations: 215.3 kB / 0.7887 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2684, allocations: 0 / 0.7887 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2684, allocations: 0 / 0.7887 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.2685, allocations: 0 / 0.7887 GB, free: 8.391 MB / 0.6075 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.0007998/0.2693, allocations: 0.5527 MB / 0.7893 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.2693, allocations: 12.03 kB / 0.7893 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.822e-05/0.2694, allocations: 38.69 kB / 0.7893 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.162e-05/0.2694, allocations: 24.75 kB / 0.7894 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/0.2697, allocations: 247.2 kB / 0.7896 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.2698, allocations: 12 kB / 0.7896 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.14e-05/0.2698, allocations: 12 kB / 0.7896 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.27, allocations: 97.59 kB / 0.7897 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.27, allocations: 4 kB / 0.7897 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.27, allocations: 0 / 0.7897 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.27, allocations: 4 kB / 0.7897 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.2701, allocations: 55.91 kB / 0.7898 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007952/0.2709, allocations: 460.4 kB / 0.7902 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004346/0.2714, allocations: 142.7 kB / 0.7903 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.826e-05/0.2715, allocations: 36.84 kB / 0.7904 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.2715, allocations: 4 kB / 0.7904 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001949/0.2717, allocations: 107.3 kB / 0.7905 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 3.557e-06/0.2717, allocations: 0 / 0.7905 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0003486/0.2721, allocations: 176.8 kB / 0.7907 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.2721, allocations: 55.41 kB / 0.7907 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.2723, allocations: 194.6 kB / 0.7909 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.529e-05/0.2723, allocations: 37.7 kB / 0.7909 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.751e-05/0.2724, allocations: 116.5 kB / 0.791 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.842e-05/0.2725, allocations: 43.53 kB / 0.7911 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.723e-05/0.2726, allocations: 53.67 kB / 0.7911 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.2727, allocations: 326.8 kB / 0.7914 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.394e-05/0.2727, allocations: 39.92 kB / 0.7915 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/0.273, allocations: 132.3 kB / 0.7916 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.2731, allocations: 103.4 kB / 0.7917 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2731, allocations: 0 / 0.7917 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002258/0.2733, allocations: 157.3 kB / 0.7919 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.2734, allocations: 8 kB / 0.7919 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.2734, allocations: 3.938 kB / 0.7919 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.2734, allocations: 4 kB / 0.7919 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.641e-05/0.2735, allocations: 11.98 kB / 0.7919 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.2735, allocations: 4 kB / 0.7919 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002088/0.2737, allocations: 27.83 kB / 0.7919 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.2737, allocations: 4 kB / 0.7919 GB, free: 4.852 MB / 0.6075 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,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y,scaDel.sampleTrigger,scaDel.tActivateLast,$PRE.scaDel.tActivateLast,scaDel.active,sca.sampleTrigger,sca.tActivateLast,$PRE.sca.tActivateLast,sca.active,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001158/0.2738, allocations: 151.6 kB / 0.7921 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.818e-05/0.2739, allocations: 15.81 kB / 0.7921 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.372e-05/0.2739, allocations: 17.88 kB / 0.7921 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.2739, allocations: 3.938 kB / 0.7921 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.2739, allocations: 0 / 0.7921 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.2739, allocations: 3.984 kB / 0.7921 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006074/0.2746, allocations: 494.1 kB / 0.7926 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2746, allocations: 0 / 0.7926 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.752e-05/0.2746, allocations: 11.94 kB / 0.7926 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.706e-06/0.2746, allocations: 0 / 0.7926 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.2746, allocations: 11.92 kB / 0.7926 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2746, allocations: 0 / 0.7926 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2746, allocations: 0 / 0.7926 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002357/0.2749, allocations: 227.3 kB / 0.7928 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.242e-05/0.2749, allocations: 92.91 kB / 0.7929 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.844e-05/0.275, allocations: 7.938 kB / 0.7929 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.2751, allocations: 11.98 kB / 0.7929 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.885e-05/0.2752, allocations: 19.97 kB / 0.7929 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.942e-05/0.2752, allocations: 16 kB / 0.793 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001097/0.2753, allocations: 140.2 kB / 0.7931 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.443e-06/0.2753, allocations: 0 / 0.7931 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000298/0.2756, allocations: 63.77 kB / 0.7932 GB, free: 3.488 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006633/0.2763, allocations: 0.8246 MB / 0.794 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002347/0.2765, allocations: 119.7 kB / 0.7941 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.2766, allocations: 0 / 0.7941 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.97e-05/0.2767, allocations: 51.92 kB / 0.7941 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.2771, allocations: 61.14 kB / 0.7942 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00206/0.2791, allocations: 1.918 MB / 0.7961 GB, free: 440 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.2795, allocations: 0.7203 MB / 0.7968 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 9.985e-05/0.2796, allocations: 25.53 kB / 0.7968 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.648e-05/0.2797, allocations: 51.42 kB / 0.7968 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of SimCode: time 5.41e-07/0.2797, allocations: 4 kB / 0.7968 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01703/0.2967, allocations: 5.338 MB / 0.802 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002401/0.297, allocations: 268.4 kB / 0.8023 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.927/2.224, allocations: 0 / 0.8023 GB, free: 10.1 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1)