Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.PlotterActivationLocalInput,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",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.001586/0.001586, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001883/0.001883, allocations: 187.9 kB / 16.62 MB, free: 6.613 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.485/1.485, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.672/1.672, allocations: 292.3 MB / 0.549 GB, free: 12.78 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.001418/0.001418, allocations: 70.45 kB / 0.6718 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2338, allocations: 114.6 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003154/0.237, allocations: 1.722 MB / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001462/0.2385, allocations: 0.9494 MB / 0.7862 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.45e-05/0.2386, allocations: 7.938 kB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001883/0.2388, allocations: 27.73 kB / 0.7863 GB, free: 10.54 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:310:3-383:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.replace' contains a call to impure function 'Modelica.Utilities.Strings.length'. Notification: Performance of NFTyping.typeBindings: time 0.0003493/0.2391, allocations: 115.4 kB / 0.7864 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003244/0.2395, allocations: 152.6 kB / 0.7865 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002611/0.2397, allocations: 239.3 kB / 0.7868 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.2399, allocations: 45.66 kB / 0.7868 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.24, allocations: 115.7 kB / 0.7869 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001882/0.2402, allocations: 123.5 kB / 0.787 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.526e-05/0.2402, allocations: 16 kB / 0.787 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001816/0.2404, allocations: 135.8 kB / 0.7872 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.175e-05/0.2405, allocations: 51.75 kB / 0.7872 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.058e-05/0.2406, allocations: 83.58 kB / 0.7873 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003203/0.2409, allocations: 295.4 kB / 0.7876 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2409, allocations: 0 / 0.7876 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2409, allocations: 0 / 0.7876 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.2409, allocations: 4 kB / 0.7876 GB, free: 9.195 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007698/0.2417, allocations: 0.5761 MB / 0.7881 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.2418, allocations: 12.03 kB / 0.7882 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.228e-05/0.2418, allocations: 46.73 kB / 0.7882 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.242e-05/0.2419, allocations: 16.75 kB / 0.7882 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.2421, allocations: 247.2 kB / 0.7885 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.2422, allocations: 12 kB / 0.7885 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.2422, allocations: 16 kB / 0.7885 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.2424, allocations: 111.3 kB / 0.7886 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.2424, allocations: 0 / 0.7886 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.2424, allocations: 4 kB / 0.7886 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.2425, allocations: 4 kB / 0.7886 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.2426, allocations: 59.91 kB / 0.7887 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007515/0.2433, allocations: 0.5395 MB / 0.7892 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.2435, allocations: 97.12 kB / 0.7893 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.15e-05/0.2436, allocations: 45.94 kB / 0.7893 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.2436, allocations: 11.88 kB / 0.7893 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002421/0.2438, allocations: 120.5 kB / 0.7894 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.333e-06/0.2438, allocations: 3.938 kB / 0.7894 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.00032/0.2442, allocations: 163.2 kB / 0.7896 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.2442, allocations: 77.11 kB / 0.7897 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.2444, allocations: 207.6 kB / 0.7899 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/0.2444, allocations: 33.7 kB / 0.7899 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.251e-05/0.2445, allocations: 124.4 kB / 0.79 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.673e-05/0.2446, allocations: 31.56 kB / 0.7901 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.231e-05/0.2447, allocations: 61.8 kB / 0.7901 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.326e-05/0.2448, allocations: 326.8 kB / 0.7904 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.999e-05/0.2448, allocations: 31.98 kB / 0.7905 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002167/0.245, allocations: 145.2 kB / 0.7906 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.2452, allocations: 113.4 kB / 0.7907 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2452, allocations: 0 / 0.7907 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002298/0.2454, allocations: 165.3 kB / 0.7909 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.2454, allocations: 4 kB / 0.7909 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.2454, allocations: 0 / 0.7909 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.2455, allocations: 4 kB / 0.7909 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.956e-05/0.2455, allocations: 12 kB / 0.7909 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.086e-06/0.2456, allocations: 7.938 kB / 0.7909 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002024/0.2458, allocations: 31.81 kB / 0.7909 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.2458, allocations: 8 kB / 0.7909 GB, free: 5.441 MB / 0.6075 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.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition2,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,$whenCondition1,$whenCondition3,$whenCondition4,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001105/0.2459, allocations: 139.7 kB / 0.7911 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.192e-05/0.2459, allocations: 15.81 kB / 0.7911 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.172e-05/0.246, allocations: 25.52 kB / 0.7911 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.246, allocations: 0 / 0.7911 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.246, allocations: 7.938 kB / 0.7911 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.246, allocations: 0 / 0.7911 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005311/0.2466, allocations: 458.3 kB / 0.7915 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.2466, allocations: 15.94 kB / 0.7916 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.046e-05/0.2466, allocations: 0 / 0.7916 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.2466, allocations: 4 kB / 0.7916 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.2466, allocations: 7.922 kB / 0.7916 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.2466, allocations: 4 kB / 0.7916 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2466, allocations: 0 / 0.7916 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002048/0.2468, allocations: 232 kB / 0.7918 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.88e-05/0.2469, allocations: 96.91 kB / 0.7919 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/0.2469, allocations: 7.938 kB / 0.7919 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.2471, allocations: 11.98 kB / 0.7919 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.076e-05/0.2471, allocations: 19.97 kB / 0.7919 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.2472, allocations: 8 kB / 0.7919 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001094/0.2473, allocations: 143.3 kB / 0.7921 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2473, allocations: 3.938 kB / 0.7921 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003372/0.2476, allocations: 79.86 kB / 0.7921 GB, free: 4.082 MB / 0.6075 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 (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.0007525/0.2484, allocations: 0.8991 MB / 0.793 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002073/0.2486, allocations: 92.16 kB / 0.7931 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2486, allocations: 4.062 kB / 0.7931 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.823e-05/0.2487, allocations: 55.92 kB / 0.7932 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003963/0.2491, allocations: 64.67 kB / 0.7932 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/0.251, allocations: 1.947 MB / 0.7951 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.2513, allocations: 0.7242 MB / 0.7958 GB, free: 164 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.703e-05/0.2514, allocations: 21.53 kB / 0.7959 GB, free: 144 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.092e-05/0.2515, allocations: 59.42 kB / 0.7959 GB, free: 88 kB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2515, allocations: 0 / 0.7959 GB, free: 88 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02182/0.2733, allocations: 6.012 MB / 0.8018 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.242/7.516, allocations: 15.98 kB / 0.8018 GB, free: 10.23 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.fmu > Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1)