Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_8_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.0008247/0.0008248, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.004636/0.004636, allocations: 170.4 kB / 16.26 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.245/1.245, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.563/1.563, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0004969/0.000497, allocations: 18.03 kB / 0.6744 GB, free: 25.81 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.1835, allocations: 116.3 MB / 0.788 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.001767/0.1853, allocations: 1.547 MB / 0.7895 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00134/0.1867, allocations: 0.9759 MB / 0.7904 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.113e-05/0.1868, allocations: 4 kB / 0.7904 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001462/0.1869, allocations: 15.86 kB / 0.7905 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002396/0.1872, allocations: 95.59 kB / 0.7906 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002846/0.1875, allocations: 135.8 kB / 0.7907 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002148/0.1877, allocations: 231.4 kB / 0.7909 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.1878, allocations: 41.66 kB / 0.7909 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.1879, allocations: 99.61 kB / 0.791 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04936/0.2373, allocations: 3.576 MB / 0.7945 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.745e-05/0.2373, allocations: 8 kB / 0.7945 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.823e-05/0.2375, allocations: 23.98 kB / 0.7946 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.288e-05/0.2375, allocations: 27.91 kB / 0.7946 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.2376, allocations: 113.2 kB / 0.7947 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.2379, allocations: 199.3 kB / 0.7949 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2379, allocations: 0 / 0.7949 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2379, allocations: 4 kB / 0.7949 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.2379, allocations: 0 / 0.7949 GB, free: 5.281 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.0006427/0.2386, allocations: 0.5216 MB / 0.7954 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.2386, allocations: 12.03 kB / 0.7954 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.961e-05/0.2386, allocations: 42.73 kB / 0.7955 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.109e-05/0.2387, allocations: 20.66 kB / 0.7955 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.2389, allocations: 247.3 kB / 0.7957 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.2389, allocations: 15.94 kB / 0.7957 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.228e-05/0.239, allocations: 16 kB / 0.7957 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.2392, allocations: 107.3 kB / 0.7958 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.2392, allocations: 4 kB / 0.7958 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.2392, allocations: 4 kB / 0.7958 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.2392, allocations: 4 kB / 0.7959 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.2393, allocations: 62.72 kB / 0.7959 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008642/0.2402, allocations: 0.5473 MB / 0.7964 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.2403, allocations: 101.1 kB / 0.7965 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.28e-05/0.2404, allocations: 41.78 kB / 0.7966 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.2404, allocations: 3.938 kB / 0.7966 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001775/0.2406, allocations: 129.2 kB / 0.7967 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.322e-06/0.2406, allocations: 3.938 kB / 0.7967 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0002851/0.2409, allocations: 161.4 kB / 0.7969 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.241, allocations: 89.22 kB / 0.797 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.2412, allocations: 198.5 kB / 0.7971 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.48e-05/0.2412, allocations: 33.7 kB / 0.7972 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.941e-05/0.2413, allocations: 120.5 kB / 0.7973 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/0.2413, allocations: 35.55 kB / 0.7973 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.665e-05/0.2414, allocations: 29.7 kB / 0.7974 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.2415, allocations: 326.8 kB / 0.7977 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.738e-05/0.2415, allocations: 27.98 kB / 0.7977 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002179/0.2418, allocations: 151.7 kB / 0.7978 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.2419, allocations: 113.1 kB / 0.7979 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2419, allocations: 0 / 0.7979 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002215/0.2422, allocations: 157.3 kB / 0.7981 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.2422, allocations: 4 kB / 0.7981 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.2422, allocations: 7.984 kB / 0.7981 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.2422, allocations: 12.09 kB / 0.7981 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.05e-05/0.2423, allocations: 19.94 kB / 0.7981 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.2423, allocations: 0 / 0.7981 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002136/0.2425, allocations: 35.81 kB / 0.7982 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.2425, allocations: 8 kB / 0.7982 GB, free: 1.582 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.0001085/0.2427, allocations: 136.1 kB / 0.7983 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.2427, allocations: 19.81 kB / 0.7983 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.619e-05/0.2427, allocations: 29.52 kB / 0.7984 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.2428, allocations: 0 / 0.7984 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.2428, allocations: 0 / 0.7984 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.2428, allocations: 0 / 0.7984 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005185/0.2433, allocations: 482.2 kB / 0.7988 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2433, allocations: 0 / 0.7988 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.348e-05/0.2433, allocations: 7.938 kB / 0.7988 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.2433, allocations: 0 / 0.7988 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.2434, allocations: 7.984 kB / 0.7988 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.2434, allocations: 3.938 kB / 0.7988 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2434, allocations: 0 / 0.7988 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001935/0.2436, allocations: 224.2 kB / 0.799 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.83e-05/0.2436, allocations: 104.9 kB / 0.7991 GB, free: 496 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.2436, allocations: 0 / 0.7991 GB, free: 496 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.2438, allocations: 23.91 kB / 0.7992 GB, free: 472 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.712e-05/0.2438, allocations: 19.97 kB / 0.7992 GB, free: 452 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.2439, allocations: 8 kB / 0.7992 GB, free: 444 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001086/0.244, allocations: 148.2 kB / 0.7993 GB, free: 296 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.244, allocations: 4 kB / 0.7993 GB, free: 292 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002854/0.2443, allocations: 55.83 kB / 0.7994 GB, free: 236 kB / 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.0005992/0.2449, allocations: 0.8213 MB / 0.8002 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001893/0.2451, allocations: 106.8 kB / 0.8003 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.2451, allocations: 8.312 kB / 0.8003 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 8.504e-05/0.2452, allocations: 47.92 kB / 0.8004 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.2456, allocations: 53.81 kB / 0.8004 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001714/0.2473, allocations: 1.955 MB / 0.8023 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/0.2475, allocations: 0.7206 MB / 0.803 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 7.277e-05/0.2476, allocations: 33.55 kB / 0.803 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.033e-05/0.2477, allocations: 55.41 kB / 0.8031 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of SimCode: time 3.81e-07/0.2477, allocations: 0 / 0.8031 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.303/3.55, allocations: 5.019 MB / 0.808 GB, free: 7.473 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002753/3.551, allocations: 270.4 kB / 0.8083 GB, free: 7.109 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.818/5.368, allocations: 0 / 0.8083 GB, free: 7.109 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.fmu > Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1)