Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.573/1.573, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001128/0.001129, allocations: 181.4 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.935/1.935, allocations: 205.4 MB / 0.5775 GB, free: 20.31 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001065/0.001065, allocations: 98.47 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003383/0.0003384, allocations: 13.3 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2203, allocations: 106.3 MB / 0.9001 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.002125/0.2225, allocations: 1.493 MB / 0.9016 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001504/0.224, allocations: 0.929 MB / 0.9025 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.2242, allocations: 0 / 0.9025 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001605/0.2243, allocations: 23.8 kB / 0.9025 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003407/0.2247, allocations: 107.7 kB / 0.9026 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003335/0.225, allocations: 143.7 kB / 0.9028 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000175/0.2252, allocations: 139.7 kB / 0.9029 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.2253, allocations: 29.67 kB / 0.9029 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.2254, allocations: 99.66 kB / 0.903 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001108/0.2265, allocations: 1.042 MB / 0.904 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.801e-05/0.2266, allocations: 12 kB / 0.9041 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.25e-05/0.2267, allocations: 23.98 kB / 0.9041 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.625e-05/0.2267, allocations: 27.91 kB / 0.9041 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.184e-05/0.2268, allocations: 57.56 kB / 0.9042 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.2269, allocations: 143.9 kB / 0.9043 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.227, allocations: 0 / 0.9043 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.703e-06/0.227, allocations: 0 / 0.9043 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.227, allocations: 0 / 0.9043 GB, free: 59.61 MB / 0.6042 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.0006872/0.2277, allocations: 0.5215 MB / 0.9048 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.2277, allocations: 8.031 kB / 0.9048 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.728e-05/0.2278, allocations: 46.5 kB / 0.9049 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.047e-05/0.2278, allocations: 19.81 kB / 0.9049 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002319/0.228, allocations: 234.7 kB / 0.9051 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.2281, allocations: 12 kB / 0.9051 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.001e-05/0.2281, allocations: 16 kB / 0.9051 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.2283, allocations: 99.27 kB / 0.9052 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.2283, allocations: 0 / 0.9052 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.2283, allocations: 7.922 kB / 0.9052 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.2283, allocations: 0 / 0.9052 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.2285, allocations: 55.91 kB / 0.9053 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007087/0.2292, allocations: 476.4 kB / 0.9057 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003962/0.2296, allocations: 154.7 kB / 0.9059 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.2296, allocations: 4 kB / 0.9059 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001969/0.2298, allocations: 107.4 kB / 0.906 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 2.174e-06/0.2298, allocations: 0 / 0.906 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=16): time 0.0002983/0.2301, allocations: 162.7 kB / 0.9061 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.2302, allocations: 63.33 kB / 0.9062 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.2303, allocations: 198.5 kB / 0.9064 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.2304, allocations: 29.7 kB / 0.9064 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.386e-05/0.2304, allocations: 136.4 kB / 0.9066 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.2305, allocations: 27.56 kB / 0.9066 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.657e-06/0.2305, allocations: 8 kB / 0.9066 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.865e-05/0.2305, allocations: 330.8 kB / 0.9069 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.438e-05/0.2306, allocations: 28.36 kB / 0.9069 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001802/0.2308, allocations: 128.4 kB / 0.907 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.495e-05/0.2309, allocations: 39.98 kB / 0.9071 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2309, allocations: 0 / 0.9071 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001872/0.2311, allocations: 153.3 kB / 0.9072 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.2311, allocations: 8.125 kB / 0.9072 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.2311, allocations: 7.953 kB / 0.9072 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.221e-05/0.2311, allocations: 0 / 0.9072 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.625e-05/0.2312, allocations: 15.98 kB / 0.9073 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.2312, allocations: 7.938 kB / 0.9073 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.2314, allocations: 31.83 kB / 0.9073 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.2315, allocations: 4 kB / 0.9073 GB, free: 56.25 MB / 0.6042 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.0001008/0.2316, allocations: 135.6 kB / 0.9074 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.198e-05/0.2316, allocations: 19.84 kB / 0.9075 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.458e-05/0.2316, allocations: 22.08 kB / 0.9075 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.2317, allocations: 7.953 kB / 0.9075 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.2317, allocations: 3.938 kB / 0.9075 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.2317, allocations: 0 / 0.9075 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005532/0.2322, allocations: 0.502 MB / 0.908 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2323, allocations: 4 kB / 0.908 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.054e-05/0.2323, allocations: 3.938 kB / 0.908 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.2323, allocations: 7.938 kB / 0.908 GB, free: 55.49 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.2323, allocations: 4 kB / 0.908 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.2323, allocations: 3.984 kB / 0.908 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2323, allocations: 4 kB / 0.908 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001647/0.2325, allocations: 230.1 kB / 0.9082 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.054e-05/0.2325, allocations: 96.86 kB / 0.9083 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/0.2326, allocations: 4 kB / 0.9083 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.2327, allocations: 15.98 kB / 0.9083 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.946e-05/0.2328, allocations: 31.95 kB / 0.9084 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.772e-05/0.2328, allocations: 7.938 kB / 0.9084 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.182e-05/0.2329, allocations: 139.2 kB / 0.9085 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2329, allocations: 0 / 0.9085 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002912/0.2332, allocations: 43.94 kB / 0.9085 GB, free: 54.89 MB / 0.6042 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.0005742/0.2338, allocations: 0.8331 MB / 0.9094 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000203/0.234, allocations: 103.8 kB / 0.9095 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.234, allocations: 0 / 0.9095 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.83e-05/0.2341, allocations: 55.91 kB / 0.9095 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.2345, allocations: 47.28 kB / 0.9096 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009533/0.2354, allocations: 1.187 MB / 0.9107 GB, free: 52.59 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000155/0.2356, allocations: 0.7361 MB / 0.9114 GB, free: 51.83 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.118e-05/0.2357, allocations: 17.55 kB / 0.9115 GB, free: 51.81 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.303e-05/0.2358, allocations: 51.41 kB / 0.9115 GB, free: 51.76 MB / 0.6042 GB Notification: Performance of SimCode: time 2.71e-07/0.2358, allocations: 0 / 0.9115 GB, free: 51.76 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01698/0.2527, allocations: 5.003 MB / 0.9164 GB, free: 46.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002618/0.2531, allocations: 262.1 kB / 0.9166 GB, free: 46.61 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.716/1.969, allocations: 10.95 kB / 0.9166 GB, free: 46.61 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1)