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.001112/0.001112, allocations: 108 kB / 15.6 MB, free: 132 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.00112/0.00112, allocations: 197.5 kB / 16.54 MB, free: 6.672 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.356/1.356, allocations: 205.1 MB / 222.4 MB, free: 4.625 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.644/1.644, allocations: 292.3 MB / 0.5489 GB, free: 12.81 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.001352/0.001352, allocations: 67.8 kB / 0.6716 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2022/0.2036, allocations: 114.5 MB / 0.7835 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003027/0.2066, allocations: 1.734 MB / 0.7852 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0015/0.2081, allocations: 0.9416 MB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.2083, allocations: 3.938 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001718/0.2084, allocations: 35.7 kB / 0.7861 GB, free: 10.67 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.0004/0.2089, allocations: 107.5 kB / 0.7862 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003632/0.2093, allocations: 156.6 kB / 0.7864 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002703/0.2095, allocations: 239.4 kB / 0.7866 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.2097, allocations: 37.94 kB / 0.7866 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.2098, allocations: 111.7 kB / 0.7867 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002017/0.21, allocations: 127.5 kB / 0.7869 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.604e-05/0.2101, allocations: 16 kB / 0.7869 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001912/0.2103, allocations: 111.9 kB / 0.787 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.239e-05/0.2103, allocations: 43.83 kB / 0.787 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.2105, allocations: 91.52 kB / 0.7871 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003213/0.2108, allocations: 287.2 kB / 0.7874 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2108, allocations: 4 kB / 0.7874 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2108, allocations: 0 / 0.7874 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.958e-06/0.2108, allocations: 4 kB / 0.7874 GB, free: 9.359 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.0007635/0.2116, allocations: 0.5721 MB / 0.7879 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.2117, allocations: 12.03 kB / 0.788 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.894e-05/0.2117, allocations: 42.73 kB / 0.788 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.367e-05/0.2118, allocations: 20.75 kB / 0.788 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002498/0.212, allocations: 247.3 kB / 0.7883 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.2121, allocations: 12 kB / 0.7883 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.294e-05/0.2121, allocations: 8 kB / 0.7883 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.2123, allocations: 97.55 kB / 0.7884 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.2123, allocations: 0 / 0.7884 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.2123, allocations: 7.984 kB / 0.7884 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.2123, allocations: 4 kB / 0.7884 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.861e-05/0.2124, allocations: 47.97 kB / 0.7884 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000712/0.2131, allocations: 472.3 kB / 0.7889 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004126/0.2136, allocations: 134.7 kB / 0.789 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.801e-05/0.2136, allocations: 36.84 kB / 0.789 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.2136, allocations: 7.938 kB / 0.789 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002277/0.2139, allocations: 111.2 kB / 0.7892 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.432e-06/0.2139, allocations: 4 kB / 0.7892 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0003282/0.2142, allocations: 168.1 kB / 0.7893 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.2143, allocations: 55.41 kB / 0.7894 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.2145, allocations: 194.6 kB / 0.7896 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.362e-05/0.2145, allocations: 33.7 kB / 0.7896 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.509e-05/0.2146, allocations: 132.4 kB / 0.7897 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.548e-05/0.2146, allocations: 27.61 kB / 0.7897 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.709e-05/0.2147, allocations: 61.67 kB / 0.7898 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.2149, allocations: 334.8 kB / 0.7901 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.475e-05/0.2149, allocations: 27.98 kB / 0.7901 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002396/0.2152, allocations: 134 kB / 0.7903 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.2153, allocations: 106.8 kB / 0.7904 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.2153, allocations: 4 kB / 0.7904 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002278/0.2156, allocations: 153.3 kB / 0.7905 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.2156, allocations: 4 kB / 0.7905 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.2156, allocations: 0 / 0.7905 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.2156, allocations: 8.125 kB / 0.7905 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.061e-05/0.2157, allocations: 19.92 kB / 0.7906 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.2157, allocations: 0 / 0.7906 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002164/0.2159, allocations: 27.83 kB / 0.7906 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.216, allocations: 8 kB / 0.7906 GB, free: 5.793 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.0001265/0.2161, allocations: 136.2 kB / 0.7907 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.125e-05/0.2161, allocations: 19.8 kB / 0.7907 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.473e-05/0.2162, allocations: 17.88 kB / 0.7908 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2162, allocations: 4 kB / 0.7908 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.2162, allocations: 0 / 0.7908 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.2162, allocations: 4 kB / 0.7908 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008597/0.2171, allocations: 498.1 kB / 0.7912 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.2171, allocations: 7.938 kB / 0.7912 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.775e-05/0.2171, allocations: 0 / 0.7912 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.2171, allocations: 11.94 kB / 0.7913 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.2172, allocations: 7.922 kB / 0.7913 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.2172, allocations: 0 / 0.7913 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2172, allocations: 0 / 0.7913 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003121/0.2175, allocations: 223.3 kB / 0.7915 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.267e-05/0.2176, allocations: 96.84 kB / 0.7916 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.581e-05/0.2176, allocations: 7.938 kB / 0.7916 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/0.2178, allocations: 11.98 kB / 0.7916 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.012e-05/0.2179, allocations: 31.91 kB / 0.7916 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.76e-05/0.218, allocations: 4 kB / 0.7916 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001207/0.2181, allocations: 148.2 kB / 0.7918 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.91e-07/0.2181, allocations: 4 kB / 0.7918 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003389/0.2184, allocations: 71.98 kB / 0.7918 GB, free: 4.414 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.0008295/0.2193, allocations: 0.8944 MB / 0.7927 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002417/0.2195, allocations: 117.6 kB / 0.7928 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2195, allocations: 0 / 0.7928 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.935e-05/0.2196, allocations: 55.91 kB / 0.7929 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000409/0.2201, allocations: 58.33 kB / 0.7929 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/0.222, allocations: 1.888 MB / 0.7948 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.2223, allocations: 0.7281 MB / 0.7955 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.326e-05/0.2224, allocations: 29.52 kB / 0.7955 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.441e-05/0.2225, allocations: 55.41 kB / 0.7956 GB, free: 500 kB / 0.6075 GB Notification: Performance of SimCode: time 5.71e-07/0.2225, allocations: 0 / 0.7956 GB, free: 500 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02374/0.2463, allocations: 6.058 MB / 0.8015 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.645/7.892, allocations: 8 kB / 0.8015 GB, free: 10.59 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)